Click or drag to resize
DigitalRuneGraphicsHelperLuminanceWeights Field
The weights for red, green and blue to convert a color to a luminance.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public static readonly Vector3F LuminanceWeights

Field Value

Type: Vector3F
Remarks
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