Skip to content

Documentation / device / getVertexAttribByName

Function: getVertexAttribByName() ​

getVertexAttribByName(name): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13

Defined in: libs/device/src/gpuobject.ts:761

Get vertex attribute index by semantic

Parameters ​

name ​

VertexSemantic

Returns ​

0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13

Released under the MIT License.