![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Public Types | |
| enum | MagicType : uint64 { Marker = 0xd0c233ccf493dfb0 , Marker = 0xd0c233ccf493dfb0 } |
| enum class | MagicType : uint64 { Marker = 0xd0c233ccf493dfb0 , Marker = 0xd0c233ccf493dfb0 } |
Public Attributes | |
| MagicType | Magic |
| void * | PointerToUnmap |
| SIZE_T | SizeToUnmap |
| SIZE_T | OriginalSizeAsPassed |
This structure is stored in the page after each OS allocation and checks that its properties are valid on Free. Should be less than the page size (4096 on all platforms we support)
|
strong |
|
strong |
| MagicType FOSAllocationDescriptor::Magic |
Magic that makes sure that we are not passed a pointer somewhere into the middle of the allocation (and/or the structure wasn't stomped).
| SIZE_T FOSAllocationDescriptor::OriginalSizeAsPassed |
Debug info that makes sure that the correct size is preserved.
| void * FOSAllocationDescriptor::PointerToUnmap |
This should include the descriptor itself.
| SIZE_T FOSAllocationDescriptor::SizeToUnmap |
This should include the total size of allocation, so after unmapping it everything is gone, including the descriptor