nn::gd::CTR::DepthStencilStateDescription

nn::gd::CTR::DepthStencilStateDescription Class

Syntax

class DepthStencilStateDescription

Description

The descriptor for creating depth stencil state objects.

Member Variables

m_DepthEnable gdBool Sets enable/disable for the depth test.
m_StencilEnable gdBool Sets enable/disable for the stencil test.
m_StencilWriteMask u8 The write mask for the stencil test.
m_StencilReadMask u8 The read mask for the stencil test.
m_DepthMask OutputStage::DepthWriteMask The write mask for the depth test.
m_DepthFunc OutputStage::DepthFunction The depth test comparison function.
m_StencilFunc OutputStage::StencilFunction The stencil test comparison function.
m_StencilFail OutputStage::StencilOperation The process when the stencil test fails.
m_StencilZFail OutputStage::StencilOperation The process when the stencil test succeeds but the depth test fails.
m_StencilZPass OutputStage::StencilOperation The process when the stencil test succeeds and the depth test also succeeds.

Member Functions

DepthStencilStateDescription The constructor for the descriptor. Sets the descriptor to the default value.
ToDefault Sets the descriptor to the default value.

Revision History

2011/02/15
Initial version.

CONFIDENTIAL