MCPcopy Create free account
hub / github.com/Illation/ETEngine / Clear

Method Clear

Engine/source/EtFramework/ECS/Archetype.cpp:144–152  ·  view source on GitHub ↗

------------------------- Archetype::Clear

Source from the content-addressed store, hash-verified

142// Archetype::Clear
143//
144void Archetype::Clear()
145{
146 for (ComponentPool& pool : m_ComponentPools)
147 {
148 pool.Clear();
149 }
150
151 m_Entities.clear();
152}
153
154
155} // namespace fw

Callers 4

OnViewportPreRenderMethod · 0.45
UpdateOutlinesMethod · 0.45
RemoveAllEntitiesMethod · 0.45
OnRenderMethod · 0.45

Calls

no outgoing calls

Tested by 1

OnRenderMethod · 0.36