MakePrepareCommand

nn::gr::CTR::ShaderLite::MakePrepareCommand Member Function

Syntax

bit32 * MakePrepareCommand(
     bit32 * command
) const;

Parameters

Name Description
in command The start address for storing the rendering command.

Return Values

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

Description

Generates a command for setting the use of a geometry shader. Call this function after you have configured the shader binary with the SetupBinary function. This includes dummy commands and commands for setting enable/disable that are required to enable/disable the geometry shader.

Revision History

2011/12/16
Initial version.

CONFIDENTIAL