Ritchie's Abstractions 0.2
Platform abstractions that make Toolbox work
Loading...
Searching...
No Matches
RasterizerState Struct Reference

Structure containing settings for a graphics device's rasterization stage. More...

Public Attributes

CullMode CullMode
 Deffines how the graphics device should cull geometry.
 
bool ScissorTestEnabled
 Value indicating whether scissor testing is enabled. If enabled, geometry falling outside of the scissor boundary is culled.
 

Static Public Attributes

static readonly RasterizerState CullNone = new() { ScissorTestEnabled = false, CullMode = CullMode.None }
 A RasterizerState value with no culling and no scissor testing.
 
static readonly RasterizerState CullClockwise = new() { ScissorTestEnabled = false, CullMode = CullMode.Clockwise }
 A RasterizerState value with clockwise culling and no scissor testing.
 
static readonly RasterizerState CullCounterClockwise = new() { ScissorTestEnabled = false, CullMode = CullMode.CounterClockwise }
 A RasterizerState value with counter-clockwise culling and no scissor testing.
 

Detailed Description

Structure containing settings for a graphics device's rasterization stage.


The documentation for this struct was generated from the following file: