Skip to content

InterleavedBuffer

new InterleavedBuffer(array: TypedArray, stride: number)

THREE equivalent: THREE.InterleavedBuffer

Shared typed array where multiple attributes are packed with a fixed stride. Each attribute reads at a different offset.

Name Type Description
array Float32Array|Int32Array|Uint32Array|Uint16Array Backing interleaved data.
stride number Number of elements between consecutive vertices.
count number Number of vertices (array.length / stride).
Method Description
clone(): InterleavedBuffer Returns a new InterleavedBuffer with a copied array.