Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/Serialization/BulkData.h |
Include |
#include "Serialization/BulkData.h" |
struct FUntypedBulkData
Name | Description | ||
---|---|---|---|
|
FArchive * |
AttachedAr |
Archive associated with bulk data for serialization |
|
FLinkerLoad ... |
Linker |
Used to make sure the linker doesn't get garbage collected at runtime for things with attached archives |
|
PackagePath |
Name of the PackagePath containing the bulkdata |
|
|
PackageSegment |
Which segment of the package's data in the PackageResourceManager contains the bulkdata |
Name | Description | |
---|---|---|
|
FUntypedBulkData() |
Constructor, initializing all member variables. |
|
FUntypedBulkData ( |
Copy constructor. Use the common routine to perform the copy. |
Name | Description | |
---|---|---|
|
~FUntypedBulkData() |
Virtual destructor, free'ing allocated memory. |
Name | Description | ||
---|---|---|---|
|
CanLoadBulkDataWithFileReader() |
Test if it is possible to load the bulk data using a file reader, even when no archive is attached to the bulk data. |
|
|
CanLoadFromDisk() |
Returns true if the data can be loaded from disk. |
|
|
ClearBulkDataFlags ( |
Clears the passed in bulk data flags. |
|
|
ClearBulkDataFlagsOn ( |
Disable the given flags in the given accumulator variable. |
|
|
CreateChunkId() |
Returns a FIoChunkId for the bulkdata payload, this will be invalid if the bulkdata is not stored in the IoStore |
|
|
IBulkDataIOR... |
CreateStreamingRequest ( |
Create an async read request for the bulk data. |
|
IBulkDataIOR... |
CreateStreamingRequest ( |
Create an async read request for the bulk data. |
|
IBulkDataIOR... |
CreateStreamingRequestForRange ( |
Create an async read request for a range of bulk data streaming tokens The request will read all data between the two given streaming tokens objects. |
|
FBulkDataStr... |
CreateStreamingToken() |
Creates a FBulkDataStreamingToken representing the area of the file that the FUntypedBulkData represents. |
|
DoesExist() |
Returns true if the data references a file that currently exists and can be referenced by the file system. |
|
|
DumpBulkDataUsage ( |
Dumps detailed information of bulk data usage. |
|
|
ForceBulkDataResident() |
Forces the bulk data to be resident in memory and detaches the archive. |
|
|
GetBulkDataAlignment() |
Gets the current bulk data alignment. |
|
|
GetBulkDataFlags() |
Gets the current bulk data flags. |
|
|
GetBulkDataOffsetInFile() |
Returns the offset into the file the bulk data is located at. |
|
|
GetBulkDataSize() |
Returns the size of the bulk data in bytes. |
|
|
GetBulkDataSizeOnDisk() |
Returns the size of the bulk data on disk. |
|
|
GetCopy |
Retrieves a copy of the bulk data. |
|
|
FBulkDataBuf... |
GetCopyAsBuffer |
Returns a copy encapsulated by a FBulkDataBuffer. |
|
FCustomVersi... |
GetCustomVersions ( |
Get the CustomVersions used in the file containing the BulkData payload. |
|
GetDecompressionFormat() |
Returns flags usable to decompress the bulk data |
|
|
GetDecompressionFormat ( |
Returns decompress method flags specified by the given bulk data flags. |
|
|
GetElementCount() |
Returns the number of elements in this bulk data array. |
|
|
GetElementSize() |
Returns size in bytes of single element. |
|
|
FIoFilenameH... |
GetIoFilenameHash() |
Returns the io filename hash associated with this bulk data. |
|
const FPacka... |
GetPackagePath() |
Returns the PackagePath this bulkdata resides in |
|
EPackageSegm... |
GetPackageSegment() |
Returns which segment of its PackagePath this bulkdata resides in |
|
IsAsyncLoadingComplete() |
Returns whether the bulk data asynchronous load has completed. |
|
|
IsAvailableForUse() |
Returns whether this bulk data is used |
|
|
IsBulkDataLoaded() |
Returns whether the bulk data is currently loaded and resident in memory. |
|
|
IsInExternalResource() |
Returns whether this bulk data is stored in a PackageExternalResource rather than in a neighboring segment of its owner's PackagePath. |
|
|
IsInlined() |
Returns whether this bulk data is currently stored inline or not |
|
|
IsInSeparateFile() |
Returns whether this bulk data is currently stored in it's own file or not |
|
|
IsLocked() |
Checks if this bulk is locked |
|
|
IsOptional() |
Returns whether this bulk data represents optional data or not |
|
|
IsStoredCompressedOnDisk() |
Returns whether the bulk data is stored compressed on disk. |
|
|
IsUsingIODispatcher() |
Returns whether this bulk data is accessed via the IoDispatcher or not. |
|
|
LoadBulkDataWithFileReader() |
Load the bulk data using a file reader. |
|
|
void * |
Lock ( |
Locks the bulk data and returns a pointer to it. |
|
const void &... |
LockReadOnly() |
Locks the bulk data and returns a read-only pointer to it. |
|
IAsyncReadFi... |
OpenAsyncReadHandle() |
Opens a new IAsyncReadFileHandle that references the file that the BulkData object represents. |
|
void * |
Realloc ( |
Change size of locked bulk data. Only valid if locked via read-write lock. |
|
RemoveBulkData() |
Clears/removes any currently allocated data payload and resets element count to 0. |
|
|
RequiresSingleElementSerialization ( |
Returns whether single element serialization is required given an archive. |
|
|
ResetBulkDataFlags ( |
Enable the given flags and disable all other flags. |
|
|
Serialize ( |
Serialize function used to serialize this bulk data structure. |
|
|
SerializeBulkData ( |
Serialize just the bulk data portion to/ from the passed in memory. |
|
|
SerializeElement |
Serializes a single element at a time, allowing backward compatible serialization and endian swapping to be performed. |
|
|
SerializeElements |
Serializes all elements, a single element at a time, allowing backward compatible serialization and endian swapping to be performed. |
|
|
SetBulkDataAlignment ( |
Sets the passed in bulk data alignment. |
|
|
SetBulkDataFlags ( |
Enables the given flags without affecting any previously set flags. |
|
|
SetBulkDataFlagsOn ( |
Enable the given flags in the given accumulator variable. |
|
|
SetFlagsFromDiskWrittenValues ( |
When saving BulkData, if we are overwriting the file we need to update the BulkData's (flags,offset,size) to be able to load from the new file. |
|
|
StartAsyncLoading() |
Initiates a new asynchronous operation to load the dulkdata from disk assuming that it is not already loaded. |
|
|
FOwnedBulkDa... |
StealFileMapping() |
|
|
UnloadBulkData() |
Deallocates bulk data without detaching the archive, so that further bulk data accesses require a reload. |
|
|
Unlock() |
Unlocks bulk data after which point the pointer returned by Lock no longer is valid. |
Name | Description | ||
---|---|---|---|
|
FUntypedBulk... |
operator= ( |
Copies the source array into this one after detaching from archive. |
Name |
Description |
---|---|
BulkDataRangeArray |
Name | Description | ||
---|---|---|---|
|
IBulkDataIOR... |
CreateStreamingRequestForRange ( |
Use version that takes a FPackagePath instead |
|
GetFilename() |
Use GetPackagePath instead |
|
|
InSeperateFile() |
Use ::IsInSeparateFile() instead |
|
|
SerializeBulkData |
Use the version that takes InBulkDataFlags |
|
|
StoreCompressedOnDisk ( |
Use the FName version of StoreCompressedOnDisk |
|
|
StoreCompressedOnDisk ( |
Use the FName version of StoreCompressedOnDisk |