MakeLightEnvCommand

nn::gr::CTR::FragmentLight::MakeLightEnvCommand Member Function

Syntax

bit32 * MakeLightEnvCommand(
     bit32 * command,
     bool isAddDummyCommand = true
) const;

Parameters

Name Description
in command The start address for storing the rendering command.
in isAddDummyCommand Generates dummy commands to register 0x80 before writing to register 0x8f.

Return Values

Returns the address that follows the end of the stored rendering command.

Description

Generates a command for setting the light environment for fragment lighting based on information already set.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL