Navigation
API > API/Runtime > API/Runtime/Core
Value of this struct should never be a valid unfrozen pointer (i.e. a memory address). We rely on real pointers to have lowest bit(s) 0 this days for the alignment, this is checked later. Unfortunately, we cannot use bitfields as their layout might be compiler-specific, and the data for the target platform is being prepared with a different compiler during the cook.
| Name | FFrozenMemoryImagePtr |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/MemoryImage.h |
| Include Path | #include "Serialization/MemoryImage.h" |
Syntax
struct FFrozenMemoryImagePtr
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| bIsFrozenBits | uint64 | Serialization/MemoryImage.h | |
| bIsFrozenMask | uint64 | Serialization/MemoryImage.h | |
| bIsFrozenShift | uint64 | Serialization/MemoryImage.h | |
| OffsetBits | uint64 | Serialization/MemoryImage.h | |
| OffsetMask | uint64 | Serialization/MemoryImage.h | |
| OffsetShift | uint64 | Serialization/MemoryImage.h | |
| TypeIndexBits | uint64 | Serialization/MemoryImage.h | |
| TypeIndexMask | uint64 | Serialization/MemoryImage.h | |
| TypeIndexShift | uint64 | Serialization/MemoryImage.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Packed | uint64 | Serialization/MemoryImage.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int64 GetOffsetFromThis() |
Signed offset from the current position in the memory image. | Serialization/MemoryImage.h | |
int32 GetTypeIndex () |
The pointer type index in the pointer table. | Serialization/MemoryImage.h | |
bool IsFrozen() |
Whether the value is indeed a frozen pointer, must come first to avoid being set in regular pointers - which are expected to point at padded things so are never even. | Serialization/MemoryImage.h | |
void SetIsFrozen
(
bool bTrue |
Serialization/MemoryImage.h | ||
void SetOffsetFromThis
(
int64 Offset |
Serialization/MemoryImage.h | ||
void SetTypeIndex
(
int32 TypeIndex |
Serialization/MemoryImage.h |