nn::gr::CTR::Shader::MakeShaderModeCommand_ Member Function

Syntax

protected:
static bit32 * MakeShaderModeCommand_(
     bit32 * command,
     const bool isEnableGeoShader,
     const PicaDataDrawMode drawMode
);

Arguments

Name Description
in command The start address for storing the rendering command.
in isEnableGeoShader Specify true to use geometry shader mode.
in drawMode The rendering mode.

Return Values

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

Description

Generates the commands that are required to enable or disable the geometry shader: dummy commands and enable/disable setting commands.

Revision History

2011/01/24
Initial version.

CONFIDENTIAL