Module |
|
Header |
/Engine/Source/Runtime/ImageWrapper/Public/IImageWrapper.h |
Include |
#include "IImageWrapper.h" |
bool GetRaw
(
const ERGBFormat InFormat,
int32 InBitDepth,
TArray< uint8 > & OutRawData
)
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.
true on success, false otherwise.
Parameter |
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. |