Navigation
API > API/Runtime > API/Runtime/CoreUObject
Registers BulkDatas so that they can be referenced by guid during builds later in the editor process.
| Name | IBulkDataRegistry |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/Serialization/BulkDataRegistry.h |
| Include Path | #include "Serialization/BulkDataRegistry.h" |
Syntax
class IBulkDataRegistry
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IBulkDataRegistry() |
Serialization/BulkDataRegistry.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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. | Serialization/BulkDataRegistry.h | |
TFuture< UE::BulkDataRegistry::FData > GetData
(
const FGuid& BulkDataId |
Return the (possibly compressed) payload for the given registered BulkData. | Serialization/BulkDataRegistry.h | |
TFuture< UE::BulkDataRegistry::FMetaData > GetMeta
(
const FGuid& BulkDataId |
Return the metadata for the given registered BulkData; returns false if not registered. | Serialization/BulkDataRegistry.h | |
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. | Serialization/BulkDataRegistry.h | |
bool TryGetBulkData
(
const FGuid& BulkDataId, |
Returns the EditorBulkData and Owner for given id. | Serialization/BulkDataRegistry.h | |
UE::BulkDataRegistry::ERegisterResult TryRegister
(
UPackage* Owner, |
Register a BulkData with the registry. | Serialization/BulkDataRegistry.h | |
void Unregister
(
const UE::Serialization::FEditorBulkData& BulkData |
Unregister the BulkData associated with a guid, because it is being modified. | Serialization/BulkDataRegistry.h | |
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. | Serialization/BulkDataRegistry.h | |
void UpdateRegistrationData
(
UPackage* Owner, |
Change existing registration data to have the new values (keeping old Owner), or add if it doesn't exist. | Serialization/BulkDataRegistry.h |
Protected
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static IBulkDataRegistry & Get() |
Get the global BulkDataRegistry; always returns a valid interface, so long as Initialize has been called. | Serialization/BulkDataRegistry.h | |
static FSetBulkDataRegistry & GetSetBulkDataRegistryDelegate() |
Subscribe to set the class for the global IBulkDataRegistry. | Serialization/BulkDataRegistry.h | |
static void Initialize() |
Set and intialize global IBulkDataRegistry; Get fatally fails before. | Serialization/BulkDataRegistry.h | |
static bool IsEnabled () |
The BulkDataRegistry can be configured off. | Serialization/BulkDataRegistry.h | |
static void Shutdown() |
Shutdown and deallocate global IBulkDataRegistry; Get fatally fails afterwards. | Serialization/BulkDataRegistry.h |