Describes a 32-bits RGB color.
Friend classes
Cxyz.
Inherits from
Cvector3DT<float>
Methods
Name | Description |
---|---|
get | Gets the RGB color in a single number. 1st 8 most-significative bits = red; 2nd 8 most-significative bits = green; 3rd 8 most-significative bits = blue. |
gammaCorrectionRec709 | |
invGammaCorrectionRec709 | |
toRGB8 | Returns the color in 8-bits. |
toRGB16 | Returns the color in 16-bits. |
toXYZ | Returns the color in XYZ color space. |
toHSV | |
toHsv | |
toYIQ | |
toReflectanceSpectrum | |
clip | Clips all values to the range 0.0-1.0. |
constrain | --TODO-- |