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

Method Accessor

Engine/source/EtFramework/ECS/ComponentView.cpp:21–25  ·  view source on GitHub ↗

------------------------- ComponentView::Accessor Iteratable view of a selection of components

Source from the content-addressed store, hash-verified

19// Iteratable view of a selection of components
20//
21ComponentView::Accessor::Accessor(void** pointerRef, T_CompTypeIdx const type, bool const readAccess)
22 : currentElement(reinterpret_cast<uint8*&>(*pointerRef))
23 , typeIdx(type)
24 , read(readAccess)
25{ }
26
27
28//================

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected