engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FRDGAllocator类 参考final

Simple C++ object allocator which tracks and destructs objects allocated using the MemStack allocator. 更多...

#include <RenderGraphDefinitions.h>

Public 成员函数

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.


该类的文档由以下文件生成: