FUntypedBulkData::Serialize

Serialize function used to serialize this bulk data structure.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Serialization/BulkData.h

Include

#include "Serialization/BulkData.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Serialization/BulkData.cpp

Syntax

void Serialize
(
    FArchive & Ar,
    UObject * Owner,
    int32 Idx,
    bool bAttemptFileMapping,
    EFileRegionType FileRegionType
)

Remarks

Serialize function used to serialize this bulk data structure.

Parameters

Parameter

Description

Ar

Archive to serialize with

Owner

Object owning the bulk data

Idx

Index of bulk data item being serialized

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