Destroy a entity from this world.
32 {
34
35 std::unique_lock<std::shared_mutex> lock(
m_Mutex);
36
39 }
#define SPICES_PROFILE_ZONE
entt::registry m_Registry
This variable handles all entity.
std::shared_mutex m_Mutex
Mutex for world.
std::unordered_map< UUID, entt::entity > m_RootEntityMap
This variable is a cache. @noto Not in use now.