Skip to content

Documentation / device / getVertexBufferLength

Function: getVertexBufferLength()

getVertexBufferLength(vertexBufferType): number

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

Get the length of a vertex buffer by specified structure type of the vertex buffer

Parameters

vertexBufferType

PBStructTypeInfo

The structure type of the vertex buffer

Returns

number

The length of the vertex buffer

Released under the MIT License.