Describes rules on how primitives are rasterized.
RasterizerState | Describes rules on how primitives are rasterized. |
cullMode | Specifies whether to discard transformed primivites based on their triangle winding order. (CullNone, CullCCW or CullCW). |
depthBias | Specifies the constant depth bias to apply to the depth values of all transformed vertices. |
slopeScaledDepthBias | How much depth bias to apply relative to the slope (derivative on Z) of the polygon. |
scissorEnable | If true, transformed polygons are clipped against a 2D scissor rectangle. Pixels outside the scissor rectangle are culled. |
ctor (+1 overload) | Creates a null RasterizerState object. |
~dtor | |
Create(...) | Recreates this state object to the given rasterization state options. |
Deinit() | Frees up all resources associated with this state object, and makes it null. |