Navigation
API > API/Runtime > API/Runtime/Core
FMemMark marks a top-of-stack position in the memory stack. When the marker is constructed or initialized with a particular memory stack, it saves the stack's current position. When marker is popped, it pops all items that were added to the stack subsequent to initialization.
| Name | FMemMark |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/MemStack.h |
| Include Path | #include "Misc/MemStack.h" |
Syntax
class FMemMark
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMemMark
(
FMemStackBase& InMem |
Constructors. | Misc/MemStack.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FMemMark() |
Destructor. | Misc/MemStack.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bPopped | bool | Misc/MemStack.h | ||
| Mem | FMemStackBase & | Implementation variables. | Misc/MemStack.h | |
| NextTopmostMark | FMemMark * | Misc/MemStack.h | ||
| SavedChunk | FMemStackBase::FTaggedMemory * | Misc/MemStack.h | ||
| Top | uint8 * | Misc/MemStack.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Pop() |
Free the memory allocated after the mark was created. | Misc/MemStack.h |