Classes | Functions | Variables
ion::Color Namespace Reference

Classes

struct  Basic
 Some very basic colors. More...
 
struct  Convert
 Implements a conversion between two color types. More...
 
struct  Convert< byte, float >
 
struct  Convert< float, byte >
 
struct  Full
 Determines the maximum color value for a given type. More...
 
struct  Full< byte >
 
struct  Full< float >
 

Functions

uint PackBits24 (color3i const &Color)
 Packs a color into 24 bits. More...
 
color3i UnpackBits24 (uint const Value)
 Unpacks a color from 24 bits. More...
 
color3i Hex (uint const Value)
 Unpacks a color from 24 bits. More...
 
color3f HSV (float const H, float const S, float const V)
 Compute RGB color from HSV. More...
 
vec3f ToHSV (color3f const &Color)
 Compute RGB color from HSV. More...
 

Variables

color3f const White = color3f(1)
 
color3f const Black = color3f(0)
 

Variable Documentation

color3f const ion::Color::Black = color3f(0)
color3f const ion::Color::White = color3f(1)