Navigation
API > API/Runtime > API/Runtime/ImageWrapper > API/Runtime/ImageWrapper/IImageWrapper > API/Runtime/ImageWrapper/IImageWrapper/GetRaw
References
| Module | ImageWrapper |
| Header | /Engine/Source/Runtime/ImageWrapper/Public/IImageWrapper.h |
| Include | #include "IImageWrapper.h" |
bool GetRaw
&40;
const ERGBFormat InFormat,
int32 InBitDepth,
TArray< uint8 > & OutRawData
&41;
Remarks
Gets the raw data in a TArray. Only use this if you're certain that the image is less than 2 GB in size. Prefer using the overload which takes a TArray64 in general. (Note: It may consume the data set in the SetRaw function if it was set before)
this is often broken, should only be used with InFormat == GetFormat() DEPRECATED , use GetRaw() with 1 argument or GetRawImage() true on success, false otherwise.
Parameters
| Name | Description |
|---|---|
| InFormat | How we want to manipulate the RGB data. |
| InBitDepth | The output bit-depth per channel, normally 8. |
| OutRawData | Will contain the uncompressed raw data. |