Navigation
API > API/Runtime > API/Runtime/ImageWrapper > API/Runtime/ImageWrapper/IImageWrapper
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
Derived Overrides
| Name | SetCompressed |
| Type | function |
| Header File | /Engine/Source/Runtime/ImageWrapper/Public/IImageWrapper.h |
| Include Path | #include "IImageWrapper.h" |
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. |