Documentation / device / makeVertexBufferType
Function: makeVertexBufferType()
makeVertexBufferType(
length, ...attributes):PBStructTypeInfo
Defined in: libs/device/src/gpuobject.ts:934
Get the structure type of a vertex buffer by specified vertex attribute formats and the length of the vertex buffer
Parameters
length
number
The length of the vertex buffer
attributes
...readonly VertexAttribFormat[]
The vertex attributes
Returns
The structure type of the vertex buffer