nn::gr::CTR::RenderState::AlphaTest Classclass AlphaTest
Class for setting the alpha test.
| isEnable | bool | Sets enable/disable for the alpha test. Type is bool. Always passes if disabled. Initial value is false (disabled). |
|
|---|---|---|---|
| refValue | u8 | Sets the constant to be referenced by the alpha test. Type is u8. Sets the value resulting from mapping the uniform value [0.f, 1.f] to an 8-bit integer. The initial value is 0. |
|
| func | PicaDataAlphaTest | Sets the comparison method to be used in the alpha test. Type is PicaDataAlphaTest. Initial value is PICA_DATA_ALPHA_TEST_ALWAYS. |
AlphaTest
|
Initializes alpha test settings to the initial values. | |
|---|---|---|
MakeCommand
|
Generates a rendering command based on information already set. | |
| S |
MakeDisableCommand
|
Generates commands to disable this feature. |
CONFIDENTIAL