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

Syntax

s32 BuildShaderProgramCommand(
     s32 vertexIndex,
     s32 geometryIndex
);

Arguments

Name Description
in vertexIndex Index of the vertex shader.
in geometryIndex Index of the geometry shader.

Return Values

Returns the command size that was output.

Description

Creates a command for transferring the shader binary to the specified buffer.


CONFIDENTIAL