| GraphicsHelperLuminanceWeights Field |
The weights for red, green and blue to convert a color to a luminance.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public static readonly Vector3F LuminanceWeights
Public Shared ReadOnly LuminanceWeights As Vector3F
public:
static initonly Vector3F LuminanceWeights
static val LuminanceWeights: Vector3F
Field Value
Type:
Vector3FRemarks
These weights were chosen according to ITU Rec 709 (HDTV; same as sRGB). To convert a color
to luminance use the dot product: Vector3F.Dot(color, LuminanceWeights)
See Also