Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Function template · 2 overloads
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.
Performs `advance` as part of bounded particle simulation and rendering.
template<size_t N>void advance(std::array<ActorData,N>& objects,const std::array<Affine<Fixed>,N>& world,size_t count,Fixed dt)Performs `advance` as part of bounded particle simulation and rendering.
| Parameter | Type | Meaning |
|---|---|---|
objects | std::array<ActorData, N> & | Not documented; consult the linked header. |
world | const std::array<Affine<Fixed>, N> & | Not documented; consult the linked header. |
count | size_t | Not documented; consult the linked header. |
dt | Fixed | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "particles.hpp"
// Replace these template arguments with types or values accepted by the declaration:
// N
// Assume these named values have been initialized with valid data:
// std::array<ActorData, N> & objects
// const std::array<Affine<Fixed>, N> & world
// size_t count
// Fixed dt
epok::ParticlePool& object = /* obtain a valid instance */;
object.advance<N>(objects, world, count, dt);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/particles.hpp:71
void advance()Performs `advance` as part of bounded particle simulation and rendering.
This overload takes no parameters.
Returns: Nothing (void).
#include "particles.hpp"
epok::ParticlePool& object = /* obtain a valid instance */;
object.advance();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/particles.hpp:44
beginBegins begin as part of bounded particle simulation and rendering.MethodclearClears clear as part of bounded particle simulation and rendering.MethodeachPerforms `each` as part of bounded particle simulation and rendering.Function templateeach_allPerforms `each all` as part of bounded particle simulation and rendering.Function templateemitterPerforms `emitter` as part of bounded particle simulation and rendering.Methodremove_layerRemoves layer as part of bounded particle simulation and rendering.Methodremove_ownerRemoves owner as part of bounded particle simulation and rendering.Methodscene_emittersPerforms `scene emitters` as part of bounded particle simulation and rendering.Function template