Expand description
Auto-generated module
🤖 Generated with SplitRS
Structs§
- Bounding
BoxKill - Kill particles that leave an axis-aligned bounding box.
- Drag
Force - Linear drag force that damps particle velocity each step.
- Floor
Collision - Reflect particles off a horizontal floor plane at a fixed Y height.
- GpuParticle
Emitter - GPU particle emitter with configurable shape and mode.
- GpuParticle
Layout - Utilities for converting between the SoA
ParticleBufferand an interleaved flatf32slice suitable for GPU upload. - Gravity
Force - Constant gravitational acceleration applied to all alive particles.
- Grid
Particle Collision - GPU-style particle collision using a grid-based broad phase.
- Particle
Buffer - Structure-of-Arrays particle buffer, optimised for GPU upload.
- Particle
Emitter - Emits new particles into a
ParticleBufferover time. - Particle
Integrator - Euler integrator for particle positions and lifetimes.
- Particle
Lifetime Manager - Lifetime manager that also records spawn events for analysis.
- Particle
Render Data - Per-particle rendering data for a GPU particle renderer.
- Particle
Repulsion - Simple pairwise repulsion between particles.
- Particle
Stats - Summary statistics computed from a
ParticleBuffer. - Particle
System - High-level particle system that owns a buffer, emitters, and forces.
- Particle
System Stats - Extended particle system statistics.
- Radial
Force Field - Radial force field: attracts or repels particles from a point.
- Simple
Rng - A minimal Linear Congruential Generator used internally.
- Sorted
Particle Render Data - Extended rendering data for a particle including sort key.
- Vortex
Force Field - Vortex (rotational) force field around a Y-axis.
Enums§
- Emission
Mode - Emission mode.
- Emitter
Shape - Emitter shape that controls where and how particles are emitted.