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. Type is bool. Always passes if disabled. 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. Initial value is 0.
func Sets the comparison method to be used in the alpha test. Type is PicaDataAlphaTest. Initial value is PICA_DATA_ALPHA_TEST_ALWAYS.

Member Functions

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

Revision History

2010/09/15
Initial version.

CONFIDENTIAL