A typed array with a shared buffer. Stores the geometry data.
The number of typed-array elements per vertex.
A typed array with a shared buffer. Stores the geometry data.
Gives the total number of elements in the array.
Default is false. Setting this to true increments version.
The number of typed-array elements per vertex.
Object containing offset and count.
Defines the intended usage pattern of the data store for optimization purposes. Corresponds to the usage parameter of WebGLRenderingContext.bufferData().
UUID of this instance. This gets automatically assigned, so this shouldn't be edited.
A version number, incremented every time the needsUpdate property is set to true.
This object holds shared array buffers required for properly cloning geometries with interleaved attributes. Creates a clone of this InterleavedBuffer.
Copies another InterleavedBuffer to this InterleavedBuffer.
Copies data from attribute[index2] to array[index1].
Stores multiple values in the buffer, reading input values from a specified array.
The source (typed) array.
Set usage to value.
Serializes this InterleavedBuffer.
This object holds shared array buffers required for properly serializing geometries with interleaved attributes.
Generated using TypeDoc
"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
Examples
webgl / buffergeometry / points / interleaved