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

Method Next

Engine/source/EtFramework/ECS/ComponentView.cpp:102–119  ·  view source on GitHub ↗

--------------------- ComponentView::Next Increment component pointers

Source from the content-addressed store, hash-verified

100// Increment component pointers
101//
102bool ComponentView::Next()
103{
104 m_Current++;
105 if (m_Current >= m_Range->m_Count)
106 {
107 return true;
108 }
109
110 // components in our entity
111 for (Accessor& access : m_Accessors)
112 {
113 access.currentElement += ComponentRegistry::Instance().GetSize(access.typeIdx);
114 }
115
116 CalcParentPointers();
117
118 return false;
119}
120
121//-----------------------------------
122// ComponentView::CalcParentPointers

Callers

nothing calls this directly

Calls 1

GetSizeMethod · 0.45

Tested by

no test coverage detected