nn::gr::CTR::Shader::MakeVtxProgramCommand Member Function

Syntax

u32 * MakeVtxProgramCommand(
     u32 * command
) const;

Arguments

Name Description
in command The start address for loading drawing commands.

Return Values

Returns the next address after the termination of drawing commands that were written.

Description

Generates a program load command for vertex shaders. This includes the entry point address and executable code within the shader binary. Call this function after setting the shader binary using the SetupBinary function.

Revision History

2010/09/15
Initial version.

CONFIDENTIAL