Rasterizer state description.
More...
Rasterizer state description.
This structure describes the rasterizer state and is part of the GraphicsPipelineDesc.
Diligent::RasterizerStateDesc::RasterizerStateDesc |
( |
| ) |
|
|
inline |
Initializes the structure members with default values.
Member | Default value |
FillMode | FILL_MODE_SOLID |
CullMode | CULL_MODE_BACK |
FrontCounterClockwise | False |
DepthBias | 0 |
DepthBiasClamp | 0.f |
SlopeScaledDepthBias | 0.f |
DepthClipEnable | True |
ScissorEnable | False |
AntialiasedLineEnable | False |
Tests if two structures are equivalent.
- Parameters
-
[in] | RHS | - reference to the structure to perform comparison with |
- Returns
- True if all members of the two structures are equal.
- False otherwise
Float32 Diligent::RasterizerStateDesc::DepthBiasClamp |
Maximum depth bias of a pixel.
- Warning
- Depth bias clamp is not available in OpenGL
Bool Diligent::RasterizerStateDesc::DepthClipEnable |
Enable clipping based on distance.
- Warning
- On DirectX this only disables clipping against far clipping plane, while on OpenGL this disables clipping against both far and near clip planes.