FFreeEntry

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/GenericGrowableAllocator.h

Include

#include "Misc/GenericGrowableAllocator.h"

Syntax

class FFreeEntry

Variables

Name Description

Public variable

uint32

 

BlockSize

Size of the free block

Public variable

uint32

 

Location

Offset in the heap

Public variable

FFreeEntry *...

 

Next

Next block of free memory.

Constructors

Name Description

Public function

FFreeEntry

(
    FFreeEntry* NextEntry,
    uint32 InLocation,
    uint64 InSize
)

Constructor

Functions

Name Description

Public function

bool

 

CanFit

(
    uint64 AlignedSize,
    uint32 Alignment
)

Determine if the given allocation with this alignment and size will fit

Public function

uint32

 

Split

(
    uint64 UsedSize,
    uint32 Alignment,
    bool& bDelete,
    uint32& Padding,
    uint32 MinSize
)

Take a free chunk, and split it into a used chunk and a free chunk

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