API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classQuadParticles
The default render mode: one textured, rotated, tinted quad per particle, drawn as a single instanced triangle-list. build fills the shared 40-byte per-instance layout described by instanceAttributes. UVs are baked per-particle so the system can carry an atlas of frames - `system.frames` declares the rectangles and each particle's `textureIndex` selects one, resolved to UVs once per particle per frame; no per-instance shader-side indexing needed. GPU-eligible: the system's compute pipeline emits exactly that layout into its instance buffer, so a system running on the GPU path can bind that buffer directly and skip build entirely.
import { QuadParticles } from '@codexo/exojs-particles'The default render mode: one textured, rotated, tinted quad per particle, drawn as a single instanced triangle-list.
build fills the shared 40-byte per-instance layout described by instanceAttributes. UVs are baked per-particle so the system can carry an atlas of frames - `system.frames` declares the rectangles and each particle's `textureIndex` selects one, resolved to UVs once per particle per frame; no per-instance shader-side indexing needed.
GPU-eligible: the system's compute pipeline emits exactly that layout into its instance buffer, so a system running on the GPU path can bind that buffer directly and skip build entirely.
new(): QuadParticles_ensureCapacity(byteLength: number): void_onBufferGrown(data: ArrayBuffer): void_setCount(count: number): voidbuild(system: ParticleSystemThe central coordinator of the particle pipeline. `ParticleSystem` is a Drawable that owns: - **Particle storage** - one channel per attribute (position, veloc…, particles: ParticleBatchThe live particles of one system, addressed by semantic channel. This is the bulk surface an UpdateModule and a ParticleRenderMode operate on. Channels are nam…): voiddestroy(): voidgpuEligible: trueinstanced: truecount: numberdata: ArrayBuffer