Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Function template · 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.
Performs `each` as part of bounded particle simulation and rendering.
template<size_t N,class Emit>void each(const std::array<Affine<Fixed>,N>&,size_t count,Emit emit)constPerforms `each` as part of bounded particle simulation and rendering.
| Parameter | Type | Meaning |
|---|---|---|
arg1 | const std::array<Affine<Fixed>, N> & | Not documented; consult the linked header. |
count | size_t | Not documented; consult the linked header. |
emit | Emit | 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, Emit
// Assume these named values have been initialized with valid data:
// const std::array<Affine<Fixed>, N> & arg1
// size_t count
// Emit emit
epok::ParticlePool& object = /* obtain a valid instance */;
object.each<N, Emit>(arg1, count, emit);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/particles.hpp:84
advancePerforms `advance` as part of bounded particle simulation and rendering.Function templatebeginBegins begin as part of bounded particle simulation and rendering.MethodclearClears clear as part of bounded particle simulation and rendering.Methodeach_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