SpiecsEngine
Loading...
Searching...
No Matches
◆
ViewRoot()
template<typename F >
void Spices::World::ViewRoot
(
F &&
fn
)
inline
View all root in this world.
Parameters
fn
View function.
Definition at line
329
of file
World.h
.
330
{
331
SPICES_PROFILE_ZONE
;
332
333
std::shared_lock<std::shared_mutex> lock(
m_Mutex
);
334
335
for
(
auto
entity :
m_RootEntityMap
)
336
{
337
Entity
e
(entity.second,
this
);
338
fn(e);
339
}
340
}
SPICES_PROFILE_ZONE
#define SPICES_PROFILE_ZONE
Definition
TracyProfilerWrapper.h:100
Spices::World::Entity
friend class Entity
Definition
World.h:262
Spices::World::m_Mutex
std::shared_mutex m_Mutex
Mutex for world.
Definition
World.h:245
Spices::World::m_RootEntityMap
std::unordered_map< UUID, entt::entity > m_RootEntityMap
This variable is a cache. @noto Not in use now.
Definition
World.h:257
SpicesTest::VariableTraitsTestN::e
void * e
Definition
VariableTraits_test.h:36
Spices
World
Generated on Sun Mar 8 2026 10:24:50 for SpiecsEngine by
1.10.0