nw::gfx::ShaderBinaryInfo::BuildShaderProgramCommand Member Function

Syntax

s32 BuildShaderProgramCommand(
     s32 vertexIndex,
     s32 geometryIndex,
     u32 * bufferAddress,
     u32 bufferSize
) const;

Arguments

Name Description
in vertexIndex Specifies the index for a vertex shader.
in geometryIndex Specifies the index for a geometry shader.
out bufferAddress Address of the buffer for generating commands.
in bufferSize Maximum size of the buffer.

Return Values

Returns the command size that was output.

Description

Generates commands for configuring the shader program.


CONFIDENTIAL