XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALRasterizerStateCreationDescription Struct Reference

This describes the rasterizer state creation description. More...

#include <RasterizerState.h>

Inheritance diagram for xiiGALRasterizerStateCreationDescription:
[legend]

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 
- Public Member Functions inherited from xiiHashableStruct< xiiGALRasterizerStateCreationDescription >
constexpr xiiHashableStruct () noexcept
 Default constructor. Initializes all bytes to zero.
 
 xiiHashableStruct (const xiiHashableStruct &other) noexcept
 Bitwise copy constructor.
 
xiiHashableStructoperator= (const xiiHashableStruct &other) noexcept
 Bitwise assignment operator.
 
bool operator== (const xiiHashableStruct &other) const noexcept
 Compares equality via raw byte comparison.
 
std::strong_ordering operator<=> (const xiiHashableStruct &other) const noexcept
 Compares ordering via raw byte comparison.
 
xiiUInt32 CalculateHash () const noexcept
 Calculates a 32-bit hash from raw bytes of the struct.
 
void Clear () noexcept
 Fills all bytes with zero.
 
bool IsZero () const noexcept
 Returns true if all bytes are zero.
 

Public Attributes

xiiEnum< xiiGALFillModem_FillMode = xiiGALFillMode::Solid
 Determines triangle fill mode. The default is Solid.
 
xiiEnum< xiiGALCullModem_CullMode = xiiGALCullMode::Back
 Determines triangle cull mode. The default is Back.
 
bool m_bFrontCounterClockwise = false
 Determines if a triangle is front or back facing. If this member is true, a triangle will be considered front-facing if its vertices are counter-clockwise on the render target and considered back-facing if they are clockwise. If this parameter is false, then the opposite is true. The default is false.
 
bool m_bDepthClipEnable = false
 Enable clipping against near and far clip planes. The default is false.
 
bool m_bScissorEnable = false
 Enable scissor-rectangle culling. All pixels outside an active scissor rectangle are culled. The default is false.
 
bool m_bAntialiasedLineEnable = true
 Specifies whether to enable line antialiasing. The default is true.
 
xiiInt32 m_iDepthBias = 0
 Constant value added to the depth of a given pixel. The default is false.
 
float m_fDepthBiasClamp = 0.0f
 The maximum depth bias of a pixel. The default is 0.
 
float m_fSlopeScaledDepthBias = 0.0f
 Scalar that scales the given pixel's slope before adding to the pixel's depth. The default is 0.
 

Detailed Description

This describes the rasterizer state creation description.


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