RGBColorSpaceDesc

Parameters that define an RGB color space.
F is the float type that should be used for the colors and gamma functions.

Members

Aliases

GammaFunc
alias GammaFunc = F function(F v) pure nothrow @(nogc) @(safe)

Gamma conversion function type.

Variables

blue
xyY!F blue;

Blue point.

green
xyY!F green;

Green point.

name
string name;

Color space name.

red
xyY!F red;

Red point.

toGamma
GammaFunc toGamma;

Function that converts a linear luminance to gamma space.

toLinear
GammaFunc toLinear;

Function that converts a gamma luminance to linear space.

white
xyY!F white;

White point.

Meta