Epok Engine

EPOK RUNTIME

epok::ParticleEmitter::burst

Method · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Method

Requests are consumed at the next simulation tick and saturate at the global pool size.

Belongs to
epok::ParticleEmitter
Header
particle_types.hpp
Overloads
1

Declaration

Declaration
void burst(uint16_t count=0)

Requests are consumed at the next simulation tick and saturate at the global pool size.

ParameterTypeMeaning
countuint16_tNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "particle_types.hpp"

// Assume these named values have been initialized with valid data:
// uint16_t count

epok::ParticleEmitter& object = /* obtain a valid instance */;

object.burst(count);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/particle_types.hpp:11

Related members