Skip to main content

Module types

Module types 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Structs§

BoundingBoxKill
Kill particles that leave an axis-aligned bounding box.
DragForce
Linear drag force that damps particle velocity each step.
FloorCollision
Reflect particles off a horizontal floor plane at a fixed Y height.
GpuParticleEmitter
GPU particle emitter with configurable shape and mode.
GpuParticleLayout
Utilities for converting between the SoA ParticleBuffer and an interleaved flat f32 slice suitable for GPU upload.
GravityForce
Constant gravitational acceleration applied to all alive particles.
GridParticleCollision
GPU-style particle collision using a grid-based broad phase.
ParticleBuffer
Structure-of-Arrays particle buffer, optimised for GPU upload.
ParticleEmitter
Emits new particles into a ParticleBuffer over time.
ParticleIntegrator
Euler integrator for particle positions and lifetimes.
ParticleLifetimeManager
Lifetime manager that also records spawn events for analysis.
ParticleRenderData
Per-particle rendering data for a GPU particle renderer.
ParticleRepulsion
Simple pairwise repulsion between particles.
ParticleStats
Summary statistics computed from a ParticleBuffer.
ParticleSystem
High-level particle system that owns a buffer, emitters, and forces.
ParticleSystemStats
Extended particle system statistics.
RadialForceField
Radial force field: attracts or repels particles from a point.
SimpleRng
A minimal Linear Congruential Generator used internally.
SortedParticleRenderData
Extended rendering data for a particle including sort key.
VortexForceField
Vortex (rotational) force field around a Y-axis.

Enums§

EmissionMode
Emission mode.
EmitterShape
Emitter shape that controls where and how particles are emitted.