nn::gr::CTR::Shader::MakeConstRgCommand_ Member Function

Syntax

protected:
bit32 * MakeConstRgCommand_(
     bit32 * command,
     const bool is_geometry_shader = false
);

Arguments

Name Description
in command The start address for storing the rendering command.
in is_geometry_shader Set to true if you want to generate a command for the geometry shader.

Return Values

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

Description

Generates commands for making constant registers uniform. Call this function after you have configured the shader binary with the SetupBinary function.

Revision History

2011/01/24
Initial version.

CONFIDENTIAL