nw::gfx::ShaderProgram::GetVertexAttributeIndex Member Function
int GetVertexAttributeIndex(
ResVertexAttribute::VertexAttributeUsage usage
) const;
| Name | Description | |
|---|---|---|
| in | usage | Usage of vertex attributes. |
Gets the index of the vertex attribute.
If an invalid vertex attribute is specified, a value of -1 will be returned.
CONFIDENTIAL