Plasma Engine  2.0
Loading...
Searching...
No Matches
plGALRasterizerStateCreationDescription Struct Reference

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

#include <Descriptors.h>

Inheritance diagram for plGALRasterizerStateCreationDescription:

Public Attributes

plEnum< plGALCullModem_CullMode = plGALCullMode::Back
 Which sides of a triangle to cull. Default is plGALCullMode::Back.
 
plInt32 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 plHashableStruct< plGALRasterizerStateCreationDescription >
 plHashableStruct (const plHashableStruct< plGALRasterizerStateCreationDescription > &other)
 
void operator= (const plHashableStruct< plGALRasterizerStateCreationDescription > &other)
 
plUInt32 CalculateHash () const
 Calculates the 32 bit hash of the struct and returns it.
 

Detailed Description

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

Member Data Documentation

◆ m_bFrontCounterClockwise

bool plGALRasterizerStateCreationDescription::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: