RenderState Fields |
The RenderState type exposes the following members.
Name | Description | |
---|---|---|
BlendAdd |
Predefined blend effect: additive blending.
| |
BlendAlpha |
Predefined blend effect: alpha blending.
| |
BlendAlphaToCoverage |
Enable alpha to coverage blending.
| |
BlendDarken |
Predefined blend effect: "darken" blending.
| |
BlendDestinationAlpha |
Use the destination pixel alpha as an input to a blend equation.
| |
BlendDestinationColor |
Use the destination pixel color as an input to a blend equation.
| |
BlendEquationAdd |
Blend equation: A + B
| |
BlendEquationMax |
Blend equation: max(a, b)
| |
BlendEquationMin |
Blend equation: min(a, b)
| |
BlendEquationReverseSub |
Blend equation: A - B
| |
BlendEquationSub |
Blend equation: B - A
| |
BlendFactor |
Use an application supplied blending factor as an input to a blend equation.
| |
BlendIndependent |
Enable independent blending of simultaenous render targets.
| |
BlendInverseDestinationAlpha |
Use one minus the destination pixel alpha as an input to a blend equation.
| |
BlendInverseDestinationColor |
Use one minus the destination pixel color as an input to a blend equation.
| |
BlendInverseFactor |
Use one minus an application supplied blending factor as an input to a blend equation.
| |
BlendInverseSourceAlpha |
Use one minus the source pixel alpha as an input to a blend equation.
| |
BlendInverseSourceColor |
Use one minus the source pixel color as an input to a blend equation.
| |
BlendLighten |
Predefined blend effect: "lighten" blending.
| |
BlendLinearBurn |
Predefined blend effect: "linear burn" blending.
| |
BlendMultiply |
Predefined blend effect: multiplicative blending.
| |
BlendNormal |
Predefined blend effect: normal blending based on alpha.
| |
BlendOne |
Use a value of 1 as an input to a blend equation.
| |
BlendScreen |
Predefined blend effect: "screen" blending.
| |
BlendSourceAlpha |
Use the source pixel alpha as an input to a blend equation.
| |
BlendSourceAlphaSaturate |
Use the source pixel alpha (saturated) as an input to a blend equation.
| |
BlendSourceColor |
Use the source pixel color as an input to a blend equation.
| |
BlendZero |
Use a value of 0 as an input to a blend equation.
| |
ConservativeRasterization |
Enable conservative rasterization.
| |
CullClockwise |
Perform culling of clockwise faces.
| |
CullCounterclockwise |
Perform culling of counter-clockwise faces.
| |
Default |
Provides a set of sane defaults.
| |
DepthTestAlways |
Always pass the depth test.
| |
DepthTestEqual |
Pass the depth test if both values are equal.
| |
DepthTestGreater |
Use a "greater than" comparison to pass the depth test.
| |
DepthTestGreaterEqual |
Use a "greater than or equal to" comparison to pass the depth test.
| |
DepthTestLess |
Use a "less than" comparison to pass the depth test.
| |
DepthTestLessEqual |
Use a "less than or equal to" comparison to pass the depth test.
| |
DepthTestNever |
Never pass the depth test.
| |
DepthTestNotEqual |
Pass the depth test if both values are not equal.
| |
LineAA |
Enable line antialiasing.
| |
Multisampling |
Enable multisampling.
| |
NoCulling |
Don't perform culling of back faces.
| |
None |
No state bits set.
| |
PrimitiveLines |
Primitive topology: line list.
| |
PrimitiveLineStrip |
Primitive topology: line strip.
| |
PrimitivePoints |
Primitive topology: point list.
| |
PrimitiveTriangles |
Primitive topology: triangle list.
| |
PrimitiveTriangleStrip |
Primitive topology: triangle strip.
| |
WriteA |
Enable writing alpha data to the framebuffer.
| |
WriteB |
Enable writing the Blue color channel to the framebuffer.
| |
WriteG |
Enable writing the Green color channel to the framebuffer.
| |
WriteR |
Enable writing the Red color channel to the framebuffer.
| |
WriteRGB |
Enable writing all three color channels to the framebuffer.
| |
WriteZ |
Enable writing to the depth buffer.
|