Navigation
API > API/Runtime > API/Runtime/ImageWrapper > API/Runtime/ImageWrapper/FHdrImageWrapper
Description
Sets the compressed data. Can then call GetRaw().
after SetCompressed, image info queries like GetWidth and GetBitDepth are allowed call GetRaw to get the decoded bits decompression is not done until GetRaw
Virtual Inheritance
- IImageWrapper::SetCompressed → FHdrImageWrapper::SetCompressed
| Name | SetCompressed |
| Type | function |
| Header File | /Engine/Source/Runtime/ImageWrapper/Public/Formats/HdrImageWrapper.h |
| Include Path | #include "Formats/HdrImageWrapper.h" |
| Source | /Engine/Source/Runtime/ImageWrapper/Private/Formats/HdrImageWrapper.cpp |
virtual bool SetCompressed
(
const void * InCompressedData,
int64 InCompressedSize
)
true if data was the expected format.
Parameters
| Name | Remarks |
|---|---|
| InCompressedData | The memory address of the start of the compressed data. |
| InCompressedSize | The size of the compressed data parsed. |