FMemoryImage::Flatten

Merging duplicate sections will make the resulting memory image smaller.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Serialization/MemoryImage.h

Include

#include "Serialization/MemoryImage.h"

Source

/Engine/Source/Runtime/Core/Private/Serialization/MemoryImage.cpp

Syntax

void Flatten
(
    FMemoryImageResult & OutResult,
    bool bMergeDuplicateSections
)

Remarks

Merging duplicate sections will make the resulting memory image smaller. This will only work for data that is expected to be read-only after freezing. Merging sections will break any manual fix-ups applied to the frozen data

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss