API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceParticleBufferLayoutOptions
@codexo/exojs-particles / particles / stable
Construction options for ParticleBufferLayout.
5
props
0
methods
0
events
Import
import { ParticleBufferLayoutOptions } from '@codexo/exojs-particles'Construction options for ParticleBufferLayout.
Properties5
Interleaved attributes, in declaration order. WebGl2Shader locations follow this order.
indices?: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike> | nullIndex list for the draw, used only when the mode declares no per-vertex geometry to take it from. Defaults to none.
stride: numberBytes one record occupies. Must be a positive integer.
Topology of the draw, used only when the mode declares no per-vertex geometry to take it from. Defaults to triangle-list.
Upload hint for the buffer this layout describes. Defaults to stream.
Source