FGPUDefragAllocator::Allocate

Allocate physical memory.

Windows
MacOS
Linux

References

Module

RHI

Header

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

Include

#include "GPUDefragAllocator.h"

Source

/Engine/Source/Runtime/RHI/Private/GPUDefragAllocator.cpp

Syntax

virtual void * Allocate
(
    int64 AllocationSize,
    int32 Alignment,
    TStatId InStat,
    bool bAllowFailure
)

Remarks

Allocate physical memory.

Returns

Pointer to allocated memory

Parameters

Parameter

Description

AllocationSize

Size of allocation

bAllowFailure

Whether to allow allocation failure or not

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