Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > Serialization
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/Serialization/BulkDataRegistry.h |
Include | #include "Serialization/BulkDataRegistry.h" |
Syntax
class IBulkDataRegistry
Remarks
Registers BulkDatas so that they can be referenced by guid during builds later in the editor process.
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
IBulkDataRegistry & | Get () |
Get the global BulkDataRegistry; always returns a valid interface, so long as Initialize has been called. |
![]() |
uint64 | GetBulkDataResaveSize
(
FName PackageName |
Report whether the Package had BulkDatas during load that upgrade or otherwise exist in memoryonly and cannot save all its BulkDatas by reference when resaved. |
![]() |
TFuture< UE::BulkDataRegistry::FData > | Return the (possibly compressed) payload for the given registered BulkData. | |
![]() |
TFuture< UE::BulkDataRegistry::FMetaData > | Return the metadata for the given registered BulkData; returns false if not registered. | |
![]() ![]() |
FSetBulkDataRegistry & | Subscribe to set the class for the global IBulkDataRegistry. | |
![]() ![]() |
void | Initialize () |
Set and intialize global IBulkDataRegistry; Get fatally fails before. |
![]() ![]() |
bool | IsEnabled () |
The BulkDataRegistry can be configured off. |
![]() |
void | OnExitMemory
(
const UE::Serialization::FEditorBulkData& BulkData |
Report that a BulkData is leaving memory and its in-memory payload (if it had one) is no longer available. |
![]() ![]() |
void | Shutdown () |
Shutdown and deallocate global IBulkDataRegistry; Get fatally fails afterwards. |
![]() |
bool | TryGetBulkData
(
const FGuid& BulkDataId, |
Returns the EditorBulkData and Owner for given id. |
![]() |
UE::BulkDataRegistry::ERegisterResult | TryRegister
(
UPackage* Owner, |
Register a BulkData with the registry. |
![]() |
void | Unregister
(
const UE::Serialization::FEditorBulkData& BulkData |
Unregister the BulkData associated with a guid, because it is being modified. |
![]() |
void | UpdatePlaceholderPayloadId
(
const UE::Serialization::FEditorBulkData& BulkData |
Notify that a legacy BulkData with a PlaceholderPayloadId has loaded its data and updated its PayloadId, and the Registry should copy the updated PayloadId into the cache if it hasn't already calculated it. |
![]() |
void | UpdateRegistrationData
(
UPackage* Owner, |
Change existing registration data to have the new values (keeping old Owner), or add if it doesn't exist. |