ezEngine  Release 25.03
ezGALRasterizerStateCreationDescription Struct Reference

Describes the settings for a new rasterizer state. See ezGALDevice::CreateRasterizerState. More...

#include <Descriptors.h>

Inheritance diagram for ezGALRasterizerStateCreationDescription:

Public Attributes

ezEnum< ezGALCullModem_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

- Public Member Functions inherited from ezHashableStruct< ezGALRasterizerStateCreationDescription >
 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.
 

Detailed Description

Describes the settings for a new rasterizer state. See ezGALDevice::CreateRasterizerState.

Member Data Documentation

◆ m_bFrontCounterClockwise

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


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