3#include <Utility/TSpan.h>
10class GraphicsMemoryManager;
11class GraphicsMemoryBlock;
37 template<
typename T,
typename... Args>
38 T*
make(Args&&... args);
45 TSpan<T>
makeArray(std::size_t arraySize);
Graphics memory allocation helper. The arena is allocating lazily, i.e., constructing and copying an ...
Definition GraphicsArena.h:20
T * make(Args &&... args)
Make an object of type T as if by calling its constructor with Args.
Definition GraphicsArena.ipp:15
TSpan< T > makeArray(std::size_t arraySize)
Make an array of default constructed objects of type T.
Definition GraphicsArena.ipp:36
GraphicsArena(GraphicsMemoryManager *manager, EType type)
Definition GraphicsArena.cpp:29
EType
Definition GraphicsArena.h:23
Definition GraphicsMemoryBlock.h:13
Manages memory for graphics.
Definition GraphicsMemoryManager.h:26
Definition PlatformDisplay.h:13