FGPUDefragAllocator::FreeChunk

Marks the specified chunk as 'free' and updates tracking variables.

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

void FreeChunk
(
    FMemoryChunk * Chunk
)

Remarks

Marks the specified chunk as 'free' and updates tracking variables. Calls LinkFreeChunk() to coalesce adjacent free memory.

Marks the specified chunk as 'free' and updates tracking variables. Calls LinkFreeChunk() to coalesce adjacent free memory.

Parameters

Parameter

Description

Chunk

Chunk to free

Chunk

Chunk to free

bMaintainSortedFreelist

If true, maintains the free-list sort order

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