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 `sync` as part of the transform cache module.
template<class Objects,class Matrices,class MakeLocal> void sync(const Objects& objects,Matrices& world,size_t count,MakeLocal make_local,const bool* selected=nullptr)Performs `sync` as part of the transform cache module.
| Parameter | Type | Meaning |
|---|---|---|
objects | const Objects & | Not documented; consult the linked header. |
world | Matrices & | Not documented; consult the linked header. |
count | size_t | Not documented; consult the linked header. |
make_local | MakeLocal | Not documented; consult the linked header. |
selected | const bool * | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "transform_cache.hpp"
// Replace these template arguments with types or values accepted by the declaration:
// Objects, Matrices, MakeLocal
// Assume these named values have been initialized with valid data:
// const Objects & objects
// Matrices & world
// size_t count
// MakeLocal make_local
// const bool * selected
epok::TransformCache& object = /* obtain a valid instance */;
object.sync<Objects, Matrices, MakeLocal>(objects, world, count, make_local, selected);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/transform_cache.hpp:78
clearClears clear as part of the transform cache module.MethodrevisionPerforms `revision` as part of the transform cache module.Methodsync_pathA single query needs its target and ancestor path, rather than two full Capacity scans.Function templatesync_rootCommon physics case: an unparented collider.Function template