|
Ritchie's Abstractions 0.2
Platform abstractions that make Toolbox work
|
A structure defining how a GPU should perform depth testing and stencil testing. More...
Public Attributes | |
| bool | DepthTestEnabled |
| Value indicating whether depth testing is enabled. | |
| bool | DepthWriteEnabled |
| Value indicating whether the GPU should write depth information to the depth buffer. | |
| DepthStencilFunction | DepthFunction |
| A DepthStencilFunction value indicating how the depth test should be performed. | |
| bool | StencilTestEnabled |
| Value indicating whether to write to the stencil buffer. | |
| byte | StencilMask |
| Value indicating the stencil buffer mask. | |
| DepthStencilFunction | StencilFunction |
| A DepthStencilFunction value indicating how stencil testing should be performed. | |
| int | StencilReference |
| ????? | |
| StencilOperation | StencilPassOperation |
| A StencilOperation value indicating what to do if the stencil test passes. | |
| StencilOperation | DepthStencilPassOperation |
| A StencilOperation value indicating what to do if both the depth and stencil tests pass. | |
| StencilOperation | StencilPassDepthFailOperation |
| A StencilOperation indicating what to do if the stencil test passes but the depth test fails. | |
Static Public Attributes | |
| static readonly DepthStencilState | Default |
| A DepthStencilState value representing default depth and stencil test settings. | |
A structure defining how a GPU should perform depth testing and stencil testing.
|
static |
A DepthStencilState value representing default depth and stencil test settings.