Navigation
API > API/Runtime > API/Runtime/RenderCore
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/RenderGraphAllocator.h |
| Include | #include "RenderGraphAllocator.h" |
Syntax
class FRDGAllocator
Remarks
Private allocator used by RDG to track its internal memory. All memory is released after RDG builder execution.
Constructors
No constructors are accessible with public or protected access.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| T * | Alloc
(
TArgs&&... Args |
Allocates and constructs an object and tracks it for destruction. | |
| void * | Alloc
(
uint64 SizeInBytes, |
Allocates raw memory. | |
| T * | AllocNoDestruct
(
TArgs&&... Args |
Allocates a C++ object with no destructor tracking (dangerous!). | |
| PODType * | AllocUninitialized
(
uint64 Count |
Allocates an uninitialized type without destructor tracking. | |
| FRDGAllocator & | Get () |
||
| int32 | GetByteCount () |