Trade-offs and warnings
Consult the linked header for the meaning, lifetime and permitted use of this declaration.
EPOK RUNTIME
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.
Particles live in the service's pool; an emitter releases its own when it goes away.
void (*release_particles)(Particles2DComponent &)Particles live in the service's pool; an emitter releases its own when it goes away.
#include "world2d_content.hpp"
auto callback = epok::world2d::release_particles;
// Assign a function with the exact declared signature:
// epok::world2d::release_particles = &myCallback;Consult the linked header for the meaning, lifetime and permitted use of this declaration.
Declared in runtime/world2d_content.hpp:36