Epok Engine

EPOK RUNTIME

epok::world2d::release_particles

Variable

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.

Variable

Particles live in the service's pool; an emitter releases its own when it goes away.

Belongs to
epok::world2d
Header
world2d_content.hpp

Declaration

Declaration
void (*release_particles)(Particles2DComponent &)

Particles live in the service's pool; an emitter releases its own when it goes away.

Type
void (*)(Particles2DComponent &)
Storage
Namespace scope

Example sketch

C++ example
#include "world2d_content.hpp"

auto callback = epok::world2d::release_particles;

// Assign a function with the exact declared signature:
// epok::world2d::release_particles = &myCallback;

Trade-offs and warnings

Consult the linked header for the meaning, lifetime and permitted use of this declaration.

Declared in runtime/world2d_content.hpp:36