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

Method BaseComponentRange

Engine/source/EtFramework/ECS/ComponentRange.cpp:18–26  ·  view source on GitHub ↗

--------------------------- BaseComponentRange::c-tor

Source from the content-addressed store, hash-verified

16// BaseComponentRange::c-tor
17//
18BaseComponentRange::BaseComponentRange(EcsController* const controller, Archetype* const archetype, size_t const offset, size_t const count)
19 : m_Controller(controller)
20 , m_Archetype(archetype)
21 , m_Offset(offset)
22 , m_Count(count)
23{
24 ET_ASSERT(m_Archetype != nullptr);
25 ET_ASSERT(offset + count <= m_Archetype->GetSize());
26}
27
28
29} // namespace fw

Callers

nothing calls this directly

Calls 1

GetSizeMethod · 0.45

Tested by

no test coverage detected