Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Serialization > API/Runtime/CoreUObject/Serialization/TBulkData
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/Serialization/BulkData.h |
| Include | #include "Serialization/BulkData.h" |
void SerializeWithFlags
(
FArchive & Ar,
UObject * Owner,
uint32 SaveOverrideFlags,
bool bAttemptFileMapping,
EFileRegionType FileRegionType
)
Remarks
Serialize function used to serialize this bulk data structure, applying an override of the Bulk Data Flags when saving.
Parameters
| Name | Description |
|---|---|
| Ar | Archive to serialize with |
| Owner | Object owning the bulk data |
| SaveOverrideFlags | EBulkDataFlags to use when saving (restores original flags after serialization) |
| bAttemptFileMapping | If true, attempt to map this instead of loading it into malloc'ed memory |
| FileRegionType | When cooking, a hint describing the type of data, used by some platforms to improve compression ratios |