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

Method GetSize

Engine/source/EtFramework/ECS/ComponentPool.cpp:45–50  ·  view source on GitHub ↗

------------------------ ComponentPool::GetSize count of components being stored

Source from the content-addressed store, hash-verified

43// count of components being stored
44//
45size_t ComponentPool::GetSize() const
46{
47 size_t const typeSize = ComponentRegistry::Instance().GetSize(m_ComponentType);
48 ET_ASSERT(typeSize != 0u);
49 return m_Buffer.size() / typeSize;
50}
51
52//------------------------
53// ComponentPool::Append

Callers 9

ContainsMethod · 0.45
AddComponentListMethod · 0.45
AtMethod · 0.45
AppendMethod · 0.45
EraseMethod · 0.45
BaseComponentRangeMethod · 0.45
NextMethod · 0.45
RemoveAllEntitiesMethod · 0.45
ProcessMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected