nn::gr::CTR::LookUpTable Class

Syntax

class LookUpTable

Description

Class for loading lookup tables.

Member Constants

S LOOKUP_TABLE_ELEMENT_NUM The lookup table stores 256 elements.

Member Variables

protected m_TableCommand 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_ELEMENT_NUM+4.

Member Functions

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