![]() |
XII Release 0.1.0
|
This describes the stencil operation that are performed on the results of the depth test. More...
#include <DepthStencilState.h>
Public Member Functions | |
XII_DECLARE_POD_TYPE () | |
![]() | |
xiiHashableStruct (const xiiHashableStruct< xiiGALStencilOperationDescription > &other) | |
void | operator= (const xiiHashableStruct< xiiGALStencilOperationDescription > &other) |
XII_ALWAYS_INLINE constexpr bool | operator== (const xiiHashableStruct< xiiGALStencilOperationDescription > &rhs) const=default |
xiiUInt32 | CalculateHash () const |
Calculates the 32 bit hash of the struct and returns it. | |
Public Attributes | |
xiiEnum< xiiGALStencilOperation > | m_StencilFailOperation = xiiGALStencilOperation::Keep |
The stencil operation to perform when stencil testing fails. The default is Keep. | |
xiiEnum< xiiGALStencilOperation > | m_StencilDepthFailOperation = xiiGALStencilOperation::Keep |
The stencil operation to perform when stencil testing passes and depth testing fails. The default is Keep. | |
xiiEnum< xiiGALStencilOperation > | m_StencilPassOperation = xiiGALStencilOperation::Keep |
The stencil operation to perform when stencil testing and depth testing both pass. The default is Keep. | |
xiiEnum< xiiGALComparisonFunction > | m_ComparisonFunction = xiiGALComparisonFunction::Always |
A function that compares stencil data against existing stencil data. The default is Always. | |
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.