Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Describes a 32-bits RGB color.

Friend classes

Cxyz.

Inherits from

Cvector3DT<float>

Methods

NameDescription
getGets 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 
toRGB8Returns the color in 8-bits.
toRGB16Returns the color in 16-bits.
toXYZReturns the color in XYZ color space.
toHSV 
toHsv 
toYIQ 
toReflectanceSpectrum 
clipClips all values to the range 0.0-1.0.
constrain--TODO--