Describes how pixel shader output colors are merged to the existing pixels in the render target.
BlendState | Describes how pixel shader output colors are merged to the existing pixels in the render target. |
enableAlphaBlending | If true, alpha blending is enabled. If false, all pixels are opaquely written onto the render target. |
color1 | Specifices the first operand in the blend equation for (r,g,b) color channels. |
colorOp | Specifies the operation to use in the blend equation for (r,g,b) color channels. |
color2 | Specifies the second operand in the blend equation for (r,g,b) color channels. |
alpha1 | Specifies the first operand in the blend equation for the alpha (a) channel. |
alphaOp | Specifies the operation to use in the blend equation for the alpha (a) channel. |
alpha2 | Specifies the second operand in the blend equation for the alpha (a) channel. |
enableAlphaToCoverage | If true, alpha-to-coverage rendering is enabled when MSAA is active. |
| Graphics | |
ctor (+1 overload) | Creates a null BlendState object. |
~dtor | |
Create(...) | Recreates this state object to hold the given blending state. |
Deinit() | Frees up all resources associated with this state object, and makes it null. |