Click or drag to resize

RenderState Fields

The RenderState type exposes the following members.

Fields
 NameDescription
Public fieldStatic memberBlendAdd Predefined blend effect: additive blending.
Public fieldStatic memberBlendAlpha Predefined blend effect: alpha blending.
Public fieldStatic memberBlendAlphaToCoverage Enable alpha to coverage blending.
Public fieldStatic memberBlendDarken Predefined blend effect: "darken" blending.
Public fieldStatic memberBlendDestinationAlpha Use the destination pixel alpha as an input to a blend equation.
Public fieldStatic memberBlendDestinationColor Use the destination pixel color as an input to a blend equation.
Public fieldStatic memberBlendEquationAdd Blend equation: A + B
Public fieldStatic memberBlendEquationMax Blend equation: max(a, b)
Public fieldStatic memberBlendEquationMin Blend equation: min(a, b)
Public fieldStatic memberBlendEquationReverseSub Blend equation: A - B
Public fieldStatic memberBlendEquationSub Blend equation: B - A
Public fieldStatic memberBlendFactor Use an application supplied blending factor as an input to a blend equation.
Public fieldStatic memberBlendIndependent Enable independent blending of simultaenous render targets.
Public fieldStatic memberBlendInverseDestinationAlpha Use one minus the destination pixel alpha as an input to a blend equation.
Public fieldStatic memberBlendInverseDestinationColor Use one minus the destination pixel color as an input to a blend equation.
Public fieldStatic memberBlendInverseFactor Use one minus an application supplied blending factor as an input to a blend equation.
Public fieldStatic memberBlendInverseSourceAlpha Use one minus the source pixel alpha as an input to a blend equation.
Public fieldStatic memberBlendInverseSourceColor Use one minus the source pixel color as an input to a blend equation.
Public fieldStatic memberBlendLighten Predefined blend effect: "lighten" blending.
Public fieldStatic memberBlendLinearBurn Predefined blend effect: "linear burn" blending.
Public fieldStatic memberBlendMultiply Predefined blend effect: multiplicative blending.
Public fieldStatic memberBlendNormal Predefined blend effect: normal blending based on alpha.
Public fieldStatic memberBlendOne Use a value of 1 as an input to a blend equation.
Public fieldStatic memberBlendScreen Predefined blend effect: "screen" blending.
Public fieldStatic memberBlendSourceAlpha Use the source pixel alpha as an input to a blend equation.
Public fieldStatic memberBlendSourceAlphaSaturate Use the source pixel alpha (saturated) as an input to a blend equation.
Public fieldStatic memberBlendSourceColor Use the source pixel color as an input to a blend equation.
Public fieldStatic memberBlendZero Use a value of 0 as an input to a blend equation.
Public fieldStatic memberConservativeRasterization Enable conservative rasterization.
Public fieldStatic memberCullClockwise Perform culling of clockwise faces.
Public fieldStatic memberCullCounterclockwise Perform culling of counter-clockwise faces.
Public fieldStatic memberDefault Provides a set of sane defaults.
Public fieldStatic memberDepthTestAlways Always pass the depth test.
Public fieldStatic memberDepthTestEqual Pass the depth test if both values are equal.
Public fieldStatic memberDepthTestGreater Use a "greater than" comparison to pass the depth test.
Public fieldStatic memberDepthTestGreaterEqual Use a "greater than or equal to" comparison to pass the depth test.
Public fieldStatic memberDepthTestLess Use a "less than" comparison to pass the depth test.
Public fieldStatic memberDepthTestLessEqual Use a "less than or equal to" comparison to pass the depth test.
Public fieldStatic memberDepthTestNever Never pass the depth test.
Public fieldStatic memberDepthTestNotEqual Pass the depth test if both values are not equal.
Public fieldStatic memberLineAA Enable line antialiasing.
Public fieldStatic memberMultisampling Enable multisampling.
Public fieldStatic memberNoCulling Don't perform culling of back faces.
Public fieldStatic memberNone No state bits set.
Public fieldStatic memberPrimitiveLines Primitive topology: line list.
Public fieldStatic memberPrimitiveLineStrip Primitive topology: line strip.
Public fieldStatic memberPrimitivePoints Primitive topology: point list.
Public fieldStatic memberPrimitiveTriangles Primitive topology: triangle list.
Public fieldStatic memberPrimitiveTriangleStrip Primitive topology: triangle strip.
Public fieldStatic memberWriteA Enable writing alpha data to the framebuffer.
Public fieldStatic memberWriteB Enable writing the Blue color channel to the framebuffer.
Public fieldStatic memberWriteG Enable writing the Green color channel to the framebuffer.
Public fieldStatic memberWriteR Enable writing the Red color channel to the framebuffer.
Public fieldStatic memberWriteRGB Enable writing all three color channels to the framebuffer.
Public fieldStatic memberWriteZ Enable writing to the depth buffer.
Top
See Also