UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FRDGAllocator Class Reference

#include <RenderGraphAllocator.h>

Classes

class  FObject
 
class  TObject
 

Public Member Functions

 FRDGAllocator ()
 
 FRDGAllocator (FRDGAllocator &&)
 
FRDGAllocatoroperator= (FRDGAllocator &&)
 
 ~FRDGAllocator ()
 
voidAlloc (uint64 SizeInBytes, uint32 AlignInBytes)
 
template<typename PODType >
PODTypeAllocUninitialized (uint64 Count=1)
 
template<typename T , typename... TArgs>
T * Alloc (TArgs &&... Args)
 
template<typename T , typename... TArgs>
T * AllocNoDestruct (TArgs &&... Args)
 
int32 GetByteCount () const
 
void ReleaseAll ()
 

Static Public Member Functions

static RENDERCORE_API FRDGAllocatorGetTLS ()
 

Friends

class FRDGAllocatorScope
 

Constructor & Destructor Documentation

◆ FRDGAllocator() [1/2]

FRDGAllocator::FRDGAllocator ( )

◆ FRDGAllocator() [2/2]

FRDGAllocator::FRDGAllocator ( FRDGAllocator &&  Other)

◆ ~FRDGAllocator()

FRDGAllocator::~FRDGAllocator ( )

Member Function Documentation

◆ Alloc() [1/2]

template<typename T , typename... TArgs>
T * FRDGAllocator::Alloc ( TArgs &&...  Args)
inline

Allocates and constructs an object and tracks it for destruction.

◆ Alloc() [2/2]

void * FRDGAllocator::Alloc ( uint64  SizeInBytes,
uint32  AlignInBytes 
)
inline

Allocates raw memory.

◆ AllocNoDestruct()

template<typename T , typename... TArgs>
T * FRDGAllocator::AllocNoDestruct ( TArgs &&...  Args)
inline

Allocates a C++ object with no destructor tracking (dangerous!).

◆ AllocUninitialized()

template<typename PODType >
PODType * FRDGAllocator::AllocUninitialized ( uint64  Count = 1)
inline

Allocates an uninitialized type without destructor tracking.

◆ GetByteCount()

int32 FRDGAllocator::GetByteCount ( ) const
inline

◆ GetTLS()

FRDGAllocator & FRDGAllocator::GetTLS ( )
static

◆ operator=()

FRDGAllocator & FRDGAllocator::operator= ( FRDGAllocator &&  Other)

◆ ReleaseAll()

void FRDGAllocator::ReleaseAll ( )

Friends And Related Symbol Documentation

◆ FRDGAllocatorScope

friend class FRDGAllocatorScope
friend

The documentation for this class was generated from the following files: