MakePrepareCommand

nn::gr::CTR::Shader::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 setting the shader binary using the SetupBinary function. This includes dummy commands and commands for setting enable/disable that are required to enable/disable the geometry shader.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL