nn::gr::CTR::Fog

nn::gr::CTR::Fog Class

Syntax

class Fog

Description

Class for generating fog-related commands.

Member Constants

S FOG_LOOKUP_TABLE_ELEMENT_NUM const u32 The fog lookup table stores 128 elements.

Member Variables

isEnable bool Stores true if fog is enabled. Type is bool.
isEnableZFlip bool Sets enable/disable for the z flip mode. Type is bool.
colorR u8 The red component of the fog color. Type is u8.
colorG u8 The green component of the fog color. Type is u8.
colorB u8 The blue component of the fog color. Type is u8.
protected m_TableCommand u32 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