Navigation
API > API/Runtime > API/Runtime/Core
| Name | FVirtualStackAllocator |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Memory/VirtualStackAllocator.h |
| Include Path | #include "Memory/VirtualStackAllocator.h" |
Syntax
class FVirtualStackAllocator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Memory/VirtualStackAllocator.h | |||
FVirtualStackAllocator
(
const FVirtualStackAllocator& Other |
Memory/VirtualStackAllocator.h | ||
FVirtualStackAllocator
(
FVirtualStackAllocator&& Other |
Memory/VirtualStackAllocator.h | ||
FVirtualStackAllocator
(
size_t RequestedStackSize, |
RequestedStackSize will be rounded up to a whole number of pages and reserved One page will be earmarked as a guard, so the available memory will be NextMultipleOf(ReqestedStackSize, SystemPageSize) - SystemPageSize | Memory/VirtualStackAllocator.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FVirtualStackAllocator() |
Memory/VirtualStackAllocator.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DecommitMode | EVirtualStackAllocatorDecommitMode | Memory/VirtualStackAllocator.h | ||
| FScopedStackAllocatorBookmark | friend | Memory/VirtualStackAllocator.h | ||
| NextAllocationStart | void * | Memory/VirtualStackAllocator.h | ||
| NextUncommittedPage | void * | Memory/VirtualStackAllocator.h | ||
| PageSize | const size_t | Memory/VirtualStackAllocator.h | ||
| RecentHighWaterMark | void * | Memory/VirtualStackAllocator.h | ||
| TotalReservationSize | size_t | Memory/VirtualStackAllocator.h | ||
| VirtualMemory | FPlatformMemory::FPlatformVirtualMemoryBlock | VirtualMemory, NextUncommittedPage and RecentHighWaterMark must never be modified from the closed in AutoRTFM. | Memory/VirtualStackAllocator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void * Allocate
(
size_t Size, |
Memory/VirtualStackAllocator.h | ||
FScopedStackAllocatorBookmark CreateScopedBookmark() |
Memory/VirtualStackAllocator.h | ||
size_t GetAllocatedBytes() |
Memory/VirtualStackAllocator.h | ||
size_t GetCommittedBytes() |
Memory/VirtualStackAllocator.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void operator=
(
const FVirtualStackAllocator& Other |
Memory/VirtualStackAllocator.h | ||
void operator=
(
FVirtualStackAllocator&& Other |
Memory/VirtualStackAllocator.h |