ParticleCommands Module
Factory functions for particle render commands.
Functions and values
| Function or value |
Description
|
Full Usage:
particles texture particles count layer
Parameters:
Texture2D
-
The texture applied to every particle.
particles : Particle2D[]
-
Array of particle render snapshots. Managed by the user.
count : int
-
Number of active particles in the array.
layer : int<MeasureProduct<RenderLayer, MeasureOne>>
-
Render layer for ordering.
Returns: Command2D
Modifiers: inline |
Creates a batched particle render command. All particles are drawn as textured quads in a single draw call.
|
Mibo.Raylib