Back to class index

Class RasterizerState

Summary

Describes rules on how primitives are rasterized.

Member Reference

RasterizerStateDescribes rules on how primitives are rasterized.
cullModeSpecifies whether to discard transformed primivites based on their triangle winding order. (CullNone, CullCCW or CullCW).
depthBiasSpecifies the constant depth bias to apply to the depth values of all transformed vertices.
slopeScaledDepthBiasHow much depth bias to apply relative to the slope (derivative on Z) of the polygon.
scissorEnableIf 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.
Back to class index