API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

N

namespaceParticles Functions

@codexo/exojs-particles / particles / stable

Free functions and constants exported from @codexo/exojs-particles.

2
props
3
methods
0
events
Overview

Free functions and constants exported from @codexo/exojs-particles. Import any of them directly, for example `import { createParticlesExtension } from '@codexo/exojs-particles'`.

Functions3
Create a Particles extension with custom configuration. Returns an application-local descriptor - safe to pass to one Application only. For shared use, prefer particlesExtension.
Compute the byte size of a uniform struct from its declared fields, respecting WGSL std140-like alignment rules. Each field aligns to its natural alignment; the struct itself rounds to its largest alignment. Used by the codegen to size the system's combined uniform buffer.
Constants2
Default immutable Particles extension descriptor. Pass it to the application that should have it via ApplicationOptions.extensions.