Navigation
API > API/Developer > API/Developer/DerivedDataCache
A value is a compressed buffer identified by its raw hash and raw size.
A value without data may be used as a reference to the value.
| Name | FValue |
| Type | class |
| Header File | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataValue.h |
| Include Path | #include "DerivedDataValue.h" |
Syntax
class FValue
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FValue () |
Construct a null value, which is a hash and size of zero with no data. | DerivedDataValue.h | |
FValue
(
const FCompressedBuffer& Data |
Construct a value from a compressed buffer, which is cloned if not owned. | DerivedDataValue.h | |
FValue
(
FCompressedBuffer&& Data |
DerivedDataValue.h | ||
FValue
(
const FIoHash& RawHash, |
Construct a value reference from the hash and size of its data. | DerivedDataValue.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Null | const FValue | A null value. | DerivedDataValue.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | FCompressedBuffer | DerivedDataValue.h | ||
| RawHash | FIoHash | DerivedDataValue.h | ||
| RawSize | uint64 | DerivedDataValue.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FCompressedBuffer & GetData() |
Returns the compressed buffer for the value. May be null. | DerivedDataValue.h | |
const FIoHash & GetRawHash() |
Returns the hash of the raw buffer (uncompressed) for the value. | DerivedDataValue.h | |
uint64 GetRawSize() |
Returns the size of the raw buffer (uncompressed) for the value. | DerivedDataValue.h | |
bool HasData() |
Whether the compressed buffer for the value is available. | DerivedDataValue.h | |
FValue RemoveData() |
Create a copy of the value with the data removed. | DerivedDataValue.h | |
void Reset() |
Reset this to null. | DerivedDataValue.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Compress the buffer to a value using default derived data compression parameters. | DerivedDataValue.h | ||
| DerivedDataValue.h |