Navigation
API > API/Developer > API/Developer/DerivedDataCache
A 12-byte value that uniquely identifies a value in the context that it was created.
| Name | FValueId |
| Type | struct |
| Header File | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataValueId.h |
| Include Path | #include "DerivedDataValueId.h" |
Syntax
struct FValueId
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FValueId () |
Construct a null ID. | DerivedDataValueId.h | |
FValueId
(
const ByteArray& Id |
Construct an ID from an array of 12 bytes. | DerivedDataValueId.h | |
FValueId
(
FMemoryView Id |
Construct an ID from a view of 12 bytes. | DerivedDataValueId.h | |
FValueId
(
const FCbObjectId& Id |
Construct an ID from a Compact Binary Object ID. | DerivedDataValueId.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ByteArray | uint8[12] | DerivedDataValueId.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Null | const FValueId | A null ID. | DerivedDataValueId.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Bytes | ByteArray | DerivedDataValueId.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const ByteArray & GetBytes() |
Returns a reference to the raw byte array for the ID. | DerivedDataValueId.h | |
FMemoryView GetView() |
Returns a view of the raw byte array for the ID. | DerivedDataValueId.h | |
bool IsNull() |
Whether this is null. | DerivedDataValueId.h | |
bool IsValid() |
Whether this is not null. | DerivedDataValueId.h | |
FValueId MakeIndexed
(
int32 Index |
Returns a copy of this ID with the last 4 bytes replaced by the index. Use for arrays of values. | DerivedDataValueId.h | |
void Reset() |
Reset this to null. | DerivedDataValueId.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FValueId FromHash
(
const FIoHash& Hash |
Construct an ID from a non-zero hash. | DerivedDataValueId.h | |
| Construct an ID from a non-empty name. | DerivedDataValueId.h | ||
| DerivedDataValueId.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator FCbObjectId() |
Returns the ID as a Compact Binary Object ID. | DerivedDataValueId.h |