Back to class index
BlendState[Class Summary]
enableAlphaBlending
color1
colorOp
color2
alpha1
alphaOp
alpha2
enableAlphaToCoverage
Graphics
ctor (+1 overload)
~dtor
Create(...)
Deinit()

BlendState::BlendState

Syntax

BlendState::BlendState();

Creates a null BlendState object.

Syntax

BlendState::BlendState(bool enableAlphaBlending, BlendSource color1=BlendSrcAlpha, BlendOperation colorOp=BlendOpAdd, BlendSource color2=BlendInvSrcAlpha, BlendSource alpha1=BlendOne, BlendOperation alphaOp=BlendOpAdd, BlendSource alpha2=BlendZero, bool enableAlphaToCoverage=false);

Creates a BlendState object with the given blend operations.

For the parameters, see the Create() function.

See Also

Create().

Leave a Comment

Name:
Comments:
Captcha:captcha image Type in the black symbols:
Back to class index