![]() |
ezEngine
Release 25.03
|
Describes the settings for a new rasterizer state. See ezGALDevice::CreateRasterizerState. More...
#include <Descriptors.h>
Public Attributes | |
ezEnum< ezGALCullMode > | m_CullMode = ezGALCullMode::Back |
Which sides of a triangle to cull. Default is ezGALCullMode::Back. | |
ezInt32 | m_iDepthBias = 0 |
The pixel depth bias. Default is 0. | |
float | m_fDepthBiasClamp = 0.0f |
The pixel depth bias clamp. Default is 0. | |
float | m_fSlopeScaledDepthBias = 0.0f |
The pixel slope scaled depth bias clamp. Default is 0. | |
bool | m_bWireFrame = false |
Whether triangles are rendered filled or as wireframe. Default is false. | |
bool | m_bFrontCounterClockwise = false |
bool | m_bScissorTest = false |
bool | m_bConservativeRasterization = false |
Whether conservative rasterization is enabled. | |
Additional Inherited Members | |
![]() | |
ezHashableStruct (const ezHashableStruct< ezGALRasterizerStateCreationDescription > &other) | |
void | operator= (const ezHashableStruct< ezGALRasterizerStateCreationDescription > &other) |
ezUInt32 | CalculateHash () const |
Calculates the 32 bit hash of the struct and returns it. | |
Describes the settings for a new rasterizer state. See ezGALDevice::CreateRasterizerState.
bool ezGALRasterizerStateCreationDescription::m_bFrontCounterClockwise = false |
Sets which triangle winding order defines the 'front' of a triangle. If true, the front of a triangle is the one where the vertices appear in counter clockwise order. Default is false