Expand description
Fixed-function hardware state.
Configures the primitive assembly (PA), rasterizer, and output merger (OM) blocks.
Structs
The state of an active color render target
Depth test state.
Multi-sampling rasterization mode
How to offset vertices in screen space, if at all.
Primitive rasterization state. Note that GL allows different raster
method to be used for front and back, while this abstraction does not.
The complete set of the rasterizer reference values.
Switching these doesn’t roll the hardware context.
Complete stencil state, specifying how to handle the front and back side of a face.
Complete stencil state for a given side of a face.
Enums
A pixel-wise comparison function.
Which face, if any, to cull.
The front face winding order of a set of vertices.
How to rasterize a primitive.
Stencil mask operation.
Type Definitions
Width of a line.
Could be f32 if not for Hash deriving issues.
Slope depth offset factor
Could be f32 if not for Hash deriving issues.
Number of units to offset, where
the unit is the minimal difference in the depth value
dictated by the precision of the depth buffer.