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