BlendState

BlendState specify pixel arithmetic for RGB and alpha components separately.

Members

Static variables

Default
BlendState Default;
Undocumented in source.

Variables

alphaFunction
BlendFunction alphaFunction;

Specifies how the alpha component of the source and destination colors are combined.

colorFunction
BlendFunction colorFunction;

Specifies how the red, green, and blue components of the source and destination colors are combined.

destinationAlpha
BlendFactor destinationAlpha;

Specifies how the alpha destination blending factor is computed.

destinationRGB
BlendFactor destinationRGB;

Specifies how the red, green, and blue destination blending factors are computed.

enabled
bool enabled;
Undocumented in source.
sourceAlpha
BlendFactor sourceAlpha;

Specifies how the alpha source blending factor is computed.

sourceRGB
BlendFactor sourceRGB;

Specifies how the red, green, and blue blending factors are computed

Meta