"Interleaved" means that multiple attributes, possibly of different types, (e.g., position, normal, uv, color) are packed into a single array buffer.

An introduction into interleaved arrays can be found here: Interleaved array basics


webgl / buffergeometry / points / interleaved


InterleavedBuffer(array : TypedArray, stride : Integer)

array -- A typed array with a shared buffer. Stores the geometry data.
stride -- The number of typed-array elements per vertex.


.array : Array

A typed array with a shared buffer. Stores the geometry data.

.stride : Integer

The number of typed-array elements per vertex.

.count : Integer

Gives the total number of elements in the array.

.dynamic : Boolean

Default is false.

.updateRange : Object

Object containing offset and count.

.updateRange.offset : Number

Default is 0.

.updateRange.count : Number

Default is -1.

.version : Integer

A version number, incremented every time the needsUpdate property is set to true.

.isInterleavedBuffer : Boolean

Default is true.

.needsUpdate : Boolean

Default is false. Setting this to true increments version.


.setArray (array : TypedArray) : InterleavedBuffer

array - must be a Typed Array.

.setDynamic (value : Boolean) : InterleavedBuffer

Set dynamic to value.

.copy (source : InterleavedBuffer) : InterleavedBuffer

Copies another InterleavedBuffer to this InterleavedBuffer.

.copyAt (index1 : Integer, attribute : InterleavedBuffer, index2 : Integer) : InterleavedBuffer

Copies data from attribute[index2] to array[index1].

.set (value : TypedArray, offset : Integer) : InterleavedBuffer

value - The source (typed) array.
offset - The offset into the target array at which to begin writing values from the source array. Default is 0.

Stores multiple values in the buffer, reading input values from a specified array.

.clone () : InterleavedBuffer

Creates a clone of this InterleavedBuffer.


For more info on how to obtain the source code of this module see this page.