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

Syntax

s32 BuildShaderProgramCommand(
     s32 vertexIndex,
     s32 geometryIndex
) const;

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 commands in the specified buffer for configuring the shader program.


CONFIDENTIAL