FGPUDefragAllocator::Initialize

Initialize this allocator with a preallocated block of memory.

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/GPUDefragAllocator.h

Include

#include "GPUDefragAllocator.h"

Syntax

virtual void Initialize
(
    uint8 * InMemoryBase,
    int64 InMemorySize,
    int32 InAllocationAlignment
)

Remarks

Initialize this allocator with a preallocated block of memory.

Parameters

Parameter

Description

InMemoryBase

Base address for the block of memory

InMemorySize

Size of the block of memory, in uint8s

InAllocationAlignment

Alignment for all allocations, in uint8s

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss