Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > Serialization
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/Serialization/DerivedData.h |
Include | #include "Serialization/DerivedData.h" |
Syntax
class FDerivedData
Remarks
Derived Data Reference
Provides a consistent way to reference derived data:
- That has the same API for the editor as for builds with cooked packages.
- That has the same API to load from the cache as from a raw buffer, a compressed buffer, or a cooked package.
- That supports asynchronous, event-driven, prioritized loading of derived data.
- That supports saving to a cooked package without loading from the cache, when using Zen.
- That replaces serialized bulk data, such as FByteBulkData, in a cooked package.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FDerivedData () |
Constructs a null reference. | |
![]() |
FDerivedData
(
const DerivedData::Private::FCookedData& CookedData |
Constructs a reference from the private representation of a cooked reference. | |
![]() |
FDerivedData
(
const FSharedString& Name, |
References a value that is stored in a buffer. | |
![]() |
FDerivedData
(
const FSharedString& Name, |
||
![]() |
FDerivedData
(
const FSharedString& Name, |
||
![]() |
FDerivedData
(
const FSharedString& Name, |
References a value that was saved using ICache::PutValue. | |
![]() |
FDerivedData
(
const FSharedString& Name, |
References a value in a record that was saved using ICache::Put. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
EDerivedDataFlags | GetFlags () |
Returns the flags, which are mainly relevant for staged references. |
![]() ![]() |
const FSharedString & | GetName () |
Returns the name of the reference if available. |
![]() ![]() |
bool | HasData () |
Returns true if this is a non-null reference. |
![]() ![]() |
bool | IsCooked () |
Returns true if this is a cooked reference. |
![]() ![]() |
bool | IsNull () |
Returns true if this is a null reference. |
![]() ![]() |
bool | ReferenceEquals
(
const FDerivedData& Other |
Returns true if this and the other are equivalent references. |
![]() ![]() |
uint32 | Returns a hash that factors in the same members as ReferenceEquals. | |
![]() |
void | Reset () |
Resets the reference to null. |
![]() |
void | Serializes this reference to or from a cooked package. | |
![]() |
void | SetFlags
(
EDerivedDataFlags Flags |
Overwrites the existing flags. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Returns true if this is a non-null reference. |
Constants
Name | Description |
---|---|
Null | A null reference. |