MakeTextureCommand

nn::gr::CTR::ProcedureTexture::MakeTextureCommand Member Function

Syntax

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

Parameters

Name Description
in command The start address for storing the rendering command.
in isAddProcedureTextureModeCommand Specify true when you want to generate the texBias, clampU, clampV, shiftU, or shiftV texture command.
in isAddDummyCommand Specifies whether to generate dummy write commands to register 0x80 three times before changing the register.

Return Values

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

Description

Generates just the commands for configuring texture settings for a procedural texture.

Revision History

2010/10/25
Initial version.

CONFIDENTIAL