nn::gr::CTR::RenderState::AlphaTest Class

Syntax

class AlphaTest

Description

Class for setting the alpha test.

Member Variables

isEnable Sets enable/disable for the alpha test. The type is bool. Always passes if disabled. The initial value is false (disabled).
refValue Sets the constant to be referenced by the alpha test. Type is u8. Sets the value resulting form mapping the uniform value [0.f, 1.f] to an 8-bit integer. The initial value is 0.
func Sets the comparison method to be used in the alpha test. The type is PicaDataAlphaTest. Use a PicaDataAlphaTest enumerated constant defined in the PICA macro header. The initial value is PICA_DATA_ALPHA_TEST_ALWAYS.

Member Functions

AlphaTest Initializes using initial values of the alpha test settings.
MakeCommand Generates a rendering command based on information already set.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL