API reference

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

I

interfaceParticlesExtensionOptions

@codexo/exojs-particles / particles / stable

Options for createParticlesExtension.

1
props
0
methods
0
events
Import
import { ParticlesExtensionOptions } from '@codexo/exojs-particles'

Options for createParticlesExtension.

Properties1
batchSize?: number
Particles the WebGL2 renderer's instance buffer is pre-sized for. Defaults to 8192. This is a starting allocation, not a limit: a system with more live particles grows the buffer instead of dropping the surplus, so raise it only to avoid the initial growth steps for a known-large system.
Source