MCPcopy Create free account
hub / github.com/Norbyte/bg3se / AllocPage

Method AllocPage

BG3Extender/GameDefinitions/EntitySystem.cpp:165–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165FrameAllocator::FrameBuffer* FrameAllocator::AllocPage()
166{
167 auto page = GameAllocRaw(PageSize);
168 FrameBuffers[0].push_back(page);
169 return static_cast<FrameBuffer*>(page);
170}
171
172void* ComponentFrameStorage::Allocate(ComponentFrameStorageIndex& index)
173{

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected