nn::gr::CTR::RenderState::DepthTest Classclass DepthTest
Class for setting the depth test.
| isEnable | bool | Sets enable/disable for the depth test. Type is bool. Always passes if disabled. Initial value is true (enabled). |
|
|---|---|---|---|
| isEnableWrite | bool | Enables or disables writes to the depth buffer. Type is bool. Initial value is true (enabled). |
|
| func | PicaDataDepthTest | Sets the comparison function to use in the depth test. Type is PicaDataDepthTest. The initial value is PICA_DATA_DEPTH_TEST_LESS. |
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. | |
| S |
MakeDisableCommand
|
Disables depth tests. Note that all color masks are set equal to true. |
CONFIDENTIAL