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. Type is bool. Initial value is true (enabled).
func Sets the comparison function to use in the depth test. Type is PicaDataDepthTest. The initial value is PICA_DATA_DEPTH_TEST_LESS.

Member Functions

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

Revision History

2010/09/15
Initial version.

CONFIDENTIAL