Navigation
Unreal Engine C++ API Reference > Developer > DerivedDataCache
References
Module | DerivedDataCache |
Header | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataValueId.h |
Include | #include "DerivedDataValueId.h" |
Syntax
struct FValueId
Remarks
A 12-byte value that uniquely identifies a value in the context that it was created.
Constructors
Type | Name | Description |
---|---|---|
FValueId () | Construct a null ID. | |
FValueId ( const ByteArray& Id ) | Construct an ID from an array of 12 bytes. | |
FValueId ( FMemoryView Id ) | Construct an ID from a view of 12 bytes. | |
FValueId ( const FCbObjectId& Id ) | Construct an ID from a Compact Binary Object ID. |
Functions
Type | Name | Description |
---|---|---|
FValueId | FromHash ( const FIoHash& Hash ) | Construct an ID from a non-zero hash. |
FValueId | FromName ( FUtf8StringView Name ) | Construct an ID from a non-empty name. |
FValueId | FromName ( FWideStringView Name ) | Construct an ID from a non-empty name. |
const ByteAr... | GetBytes () | Returns a reference to the raw byte array for the ID. |
FMemoryView | GetView () | Returns a view of the raw byte array for the ID. |
bool | IsNull () | Whether this is null. |
bool | IsValid () | Whether this is not null. |
void | Reset () | Reset this to null. |
Operators
Type | Name | Description |
---|---|---|
operator FCbObjectId () | Returns the ID as a Compact Binary Object ID. |
Typedefs
Name | Description |
---|---|
ByteArray |
Constants
Name | Description |
---|---|
Null | A null ID. |