Color::IIntensity

Color::IIntensity
inline unsigned IIntensity() const;
Description

IIntensity determines the intensity of the current color using fixed-point integer math for high precision. The intensity is calculated using the predefined fixed-point luminance values SF_COLOR_ILUM_[RED, GREEN, BLUE], which must divided by 32768 internally before being returned.

Return Value

An unsigned value containing the colors intensity.

See Also