InterleavedBuffer

new InterleavedBuffer(array: TypedArray, stride: number)
THREE: THREE.InterleavedBuffer

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

Properties

NameTypeDescription
array

Float32Array|Int32Array|Uint32Array|Uint16Array

Backing interleaved data.

stride

number

Number of elements between consecutive vertices.

count

number

Number of vertices (array.length / stride).

Methods

MethodDescription
clone(): InterleavedBuffer

Returns a new InterleavedBuffer with a copied array.