nn::gr::CTR::LookUpTable

nn::gr::CTR::LookUpTable Class

Syntax

class LookUpTable

Description

Class for loading lookup tables.

Member Constants

S LOOKUP_TABLE_ELEMENT_NUM const u32 The lookup table stores 256 elements.
S LOOKUP_TABLE_CMD_NUM const u32 The lookup table command stores 260 elements.

Member Variables

protected m_TableCommand bit32 Maintains a lookup table that has been converted into rendering commands. The type is bit32. The upper limit on the array is nn::gr::CTR::LookUpTable::LOOKUP_TABLE_CMD_NUM.

Member Functions

LookUpTable Constructor.
SetTable Sets the lookup table.
SetAbsTable Configures a lookup table with input values between 0.0 and 1.0.
SetNotAbsTable Configures a lookup table with input values between -1.0 and 1.0.
MakeCommand Generates a command for loading the lookup table.
MakeSpotTableCommand Generates a command for loading the lookup table to be used for the angular attenuation of a spotlight.
MakeDistAttnTableCommand Generates a command for loading the lookup table to be used for the distance attenuation of a light.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL