nw::gfx::ShaderProgram::GetVertexAttributeIndex Member Function

Syntax

int GetVertexAttributeIndex(
     u32 usage
) const;

Arguments

Name Description
in usage Usage of vertex attributes.

Return Values

Index of the vertex attribute.

Description

Gets the index of the vertex attribute.


CONFIDENTIAL