nn::gr::CTR::Fog Class

Syntax

class Fog

Description

Class for generating fog-related commands.

Member Constants

S FOG_LOOKUP_TABLE_ELEMENT_NUM The fog lookup table stores 128 elements.

Member Variables

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[].

Member Functions

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.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL