Navigation
Unreal Engine C++ API Reference > Developer > DerivedDataCache > FValue > Compress
References
Module | DerivedDataCache |
Header | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataValue.h |
Include | #include "DerivedDataValue.h" |
Source | /Engine/Source/Developer/DerivedDataCache/Private/DerivedDataValue.cpp |
static [FValue](API\Developer\DerivedDataCache\FValue) Compress ( const [FCompositeBuffer](API\Runtime\Core\Memory\FCompositeBuffer) & RawData, uint64 BlockSize )
Remarks
Compress the buffer to a value using default derived data compression parameters.
Parameters
Name | Description |
---|---|
RawData | The raw data to be compressed. |
BlockSize | The power-of-two block size to encode raw data in. 0 is default. |