Navigation
API > API/Runtime > API/Runtime/Core
| Name | FVirtualAllocator |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/VirtualAllocator.h |
| Include Path | #include "HAL/VirtualAllocator.h" |
Syntax
class FVirtualAllocator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVirtualAllocator
(
void* InLowAdress, |
HAL/VirtualAllocator.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FVirtualAllocator() |
HAL/VirtualAllocator.h |
Structs
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bBacksMalloc | bool | HAL/VirtualAllocator.h | ||
| Blocks | FPerBlockSize | HAL/VirtualAllocator.h | ||
| CriticalSection | FCriticalSection | HAL/VirtualAllocator.h | ||
| HighAddress | uint8 * | HAL/VirtualAllocator.h | ||
| LinkSize | int64 | HAL/VirtualAllocator.h | ||
| LowAddress | uint8 * | HAL/VirtualAllocator.h | ||
| MaximumAlignment | size_t | HAL/VirtualAllocator.h | ||
| NextAlloc | uint8 * | HAL/VirtualAllocator.h | ||
| PageSize | size_t | HAL/VirtualAllocator.h | ||
| RecycledLinks | FFreeLink * | HAL/VirtualAllocator.h | ||
| TotalSize | size_t | HAL/VirtualAllocator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void * AllocateVirtualPages
(
uint32 NumPages, |
HAL/VirtualAllocator.h | ||
void FreeVirtual
(
void* Ptr, |
HAL/VirtualAllocator.h | ||
uint32 GetPagesForSizeAndAlignment
(
size_t Size, |
HAL/VirtualAllocator.h | ||
void GetStats
(
FVirtualAllocatorStats& OutStats |
HAL/VirtualAllocator.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual uint8 * AllocNewVM
(
size_t AlignedSize |
HAL/VirtualAllocator.h |