Navigation
API > API/Runtime > API/Runtime/ImageWrapper > API/Runtime/ImageWrapper/IImageWrapper
References
| Module | ImageWrapper |
| Header | /Engine/Source/Runtime/ImageWrapper/Public/IImageWrapper.h |
| Include | #include "IImageWrapper.h" |
| Source | /Engine/Source/Runtime/ImageWrapper/Private/ImageWrapperBase.cpp |
bool GetRawImage
&40;
FImage & OutImage
&41;
Remarks
Decode the image file data from SetCompressed() into an FImage OutImage is allocated and attributes are filled any previous passed-in contents of OutImage are destroyed OutImage.Format is ignored, a new format is set from the loaded image
This is the recommended API to get the raw image data from the imagewrapper. Prefer this instead of any of the GetRaw() calls.
Parameters
| Name | Description |
|---|---|
| OutImage | Filled with the image |