Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Serialization
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Serialization/MemoryImage.h |
| Include | #include "Serialization/MemoryImage.h" |
Syntax
struct FFrozenMemoryImagePtr
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint64 | Packed |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int64 | Signed offset from the current position in the memory image. | ||
| int32 | GetTypeIndex () |
The pointer type index in the pointer table. | |
| 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. | |
| void | SetIsFrozen
(
bool bTrue |
||
| void | SetOffsetFromThis
(
int64 Offset |
||
| void | SetTypeIndex
(
int32 TypeIndex |