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. The type is bool.
isEnableZFlip Sets enable/disable for the z flip mode. The 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.

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.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL