Documentation / device / getVertexAttributeIndex
Function: getVertexAttributeIndex()
getVertexAttributeIndex(
fmt):0|1|2|3|4|5|6|7|8|9|10|11|12|13
Defined in: libs/device/src/gpuobject.ts:811
Get vertex attribute index of specified vertex format
Parameters
fmt
The vertex format
Returns
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13
Vertex attribute index