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

This describes the stencil operation that are performed on the results of the depth test. More...

#include <DepthStencilState.h>

Inheritance diagram for xiiGALStencilOperationDescription:
[legend]

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 
- Public Member Functions inherited from xiiHashableStruct< xiiGALStencilOperationDescription >
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< xiiGALStencilOperationm_StencilFailOperation = xiiGALStencilOperation::Keep
 The stencil operation to perform when stencil testing fails. The default is Keep.
 
xiiEnum< xiiGALStencilOperationm_StencilDepthFailOperation = xiiGALStencilOperation::Keep
 The stencil operation to perform when stencil testing passes and depth testing fails. The default is Keep.
 
xiiEnum< xiiGALStencilOperationm_StencilPassOperation = xiiGALStencilOperation::Keep
 The stencil operation to perform when stencil testing and depth testing both pass. The default is Keep.
 
xiiEnum< xiiGALComparisonFunctionm_ComparisonFunction = xiiGALComparisonFunction::Always
 A function that compares stencil data against existing stencil data. The default is Always.
 

Detailed Description

This describes the stencil operation that are performed on the results of the depth test.

The structure generally mirrors D3D11_DEPTH_STENCILOP_DESC/D3D12_DEPTH_STENCILOP_DESC structure.


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