nn::gr::CTR::RenderState::DepthTest Class

Syntax

class DepthTest

Description

Class for setting the depth test.

Member Variables

isEnable Sets enable/disable for the depth test. The type is bool. Always passes if disabled. The initial value is true (enabled).
isEnableWrite Enables or disables writes to the depth buffer. The type is bool. The initial value is true (enabled).
func Sets the comparison function to use in the depth test. The type is PicaDataDepthTest. Use a PicaDataDepthTest enumerated constant defined in the PICA macro header. The initial value is PICA_DATA_DEPTH_TEST_LESS.

Member Functions

DepthTest Initializes using the initial value for the depth test setting.
MakeCommand Generates rendering commands based on information already set. Note that a color mask setting is included in the rendering commands generated.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL