Expand description
Definitions of the input state needed for any draw call.
Structs§
- Render
States - A set of render specific states that has to be specified at each render call.
- Write
Mask - Defines which channels (red, green, blue, alpha and depth) to write to in a render call.
Enums§
- Blend
- Defines which type of blending to use for a render call. Blending allows combining each color channel of a render call with the color already in the color channels of the render target. This is usually used to simulate transparency.
- Blend
Equation Type - How the source and target color or alpha value are combined in Blend.
- Blend
Multiplier Type - Value multiplied with the source or target color or alpha value in Blend.
- Cull
- Defines whether the triangles that are backfacing, frontfacing, both or none should be rendered in a render call.
- Depth
Test - Determines whether or not a fragment/pixel from the current render call should be discarded when comparing its depth with the depth of the current fragment/pixel.