AllocationHints

Some allocators can be given hints to treat allocations differently depending on how the memory is used, it's lifetime etc.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h

Include

#include "HAL/UnrealMemory.h"

Syntax

enum AllocationHints
{
    None         = -1,
    Default,
    Temporary,
    SmallPool,
    Max,
}

Values

Name

Description

None

Default

Temporary

SmallPool

Max

Remarks

Some allocators can be given hints to treat allocations differently depending on how the memory is used, it's lifetime etc.