Simple C++ object allocator which tracks and destructs objects allocated using the MemStack allocator.
更多...
#include <RenderGraphDefinitions.h>
|
|
FORCEINLINE void * | Alloc (uint32 SizeInBytes, uint32 AlignInBytes) |
| | Allocates raw memory.
|
| |
|
template<typename ObjectType , typename... TArgs> |
| FORCEINLINE ObjectType * | AllocNoDestruct (TArgs &&... Args) |
| | Allocates a C++ object with no destructor tracking (dangerous!).
|
| |
|
template<typename ObjectType , typename... TArgs> |
| FORCEINLINE ObjectType * | AllocObject (TArgs &&... Args) |
| | Allocates a C++ object with destructor tracking.
|
| |
|
template<typename PODType > |
| FORCEINLINE PODType * | AllocPOD () |
| | Allocates POD memory without destructor tracking.
|
| |
|
void | ReleaseAll () |
| | Releases all allocations.
|
| |
Simple C++ object allocator which tracks and destructs objects allocated using the MemStack allocator.
该类的文档由以下文件生成: