Header menu logo Mibo.Raylib

ParticleCommands Module

Factory functions for particle render commands.

Functions and values

Function or value Description

particles texture particles count layer

Full Usage: particles texture particles count layer

Parameters:
Returns: Command2D
Modifiers: inline

Creates a batched particle render command. All particles are drawn as textured quads in a single draw call.

texture : 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

Type something to start searching.