Skip to content

Documentation / device / getVertexBufferStride

Function: getVertexBufferStride() ​

getVertexBufferStride(vertexBufferType): number

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

Get byte stride of a vertex buffer by specified structure type of the vertex buffer

Parameters ​

vertexBufferType ​

Immutable<PBStructTypeInfo>

The structure type of the vertex buffer

Returns ​

number

The byte stride of the vertex buffer

Released under the MIT License.