nn::gr::CTR::Fog Classclass Fog
Class for generating fog-related commands.
| S |
FOG_LOOKUP_TABLE_ELEMENT_NUM
|
The fog lookup table stores 128 elements. |
|---|
| isEnable | Stores true if fog is enabled. Type is bool. |
|
|---|---|---|
| isEnableZFlip | Sets enable/disable for the z flip mode. Type is bool. |
|
| colorR | The red component of the fog color. Type is u8. |
|
| colorG | The green component of the fog color. Type is u8. |
|
| colorB | The blue component of the fog color. Type is u8. |
|
| protected | m_TableCommand | Maintains a lookup table that has been converted into rendering commands. Type is u32[]. |
| SetTable | Sets the fog lookup table. | |
|---|---|---|
MakeAllCommand
|
Generates a command for setting fog. | |
MakeConfigCommand
|
Generates a command for setting fog. | |
MakeTableCommand
|
Generates a command for setting fog. | |
| Fog | Generates a command for setting fog. | |
| S | MakeDisableCommand | Generates the minimum number of commands for disabling fog. |
CONFIDENTIAL