Documentation / device / getVertexBufferAttribType
Function: getVertexBufferAttribType()
getVertexBufferAttribType(
vertexBufferType,attrib):PBPrimitiveTypeInfo
Defined in: libs/device/src/gpuobject.ts:918
Get primitive type of a vertex attribute by specified vertex attribute index
Parameters
vertexBufferType
Immutable<PBStructTypeInfo>
The structure type of the vertex buffer
attrib
number
Returns
- The primitive type of the vertex attribute