Navigation
API > API/Developer > API/Developer/TextureFormat > API/Developer/TextureFormat/ITextureFormat
Description
Decodes an image encoded as a EPixelFormat into something encoded as a ERawImageFormat. This will only be called if CanDecodeFormat returns true.
| Name | DecodeImage |
| Type | function |
| Header File | /Engine/Source/Developer/TextureFormat/Public/Interfaces/ITextureFormat.h |
| Include Path | #include "Interfaces/ITextureFormat.h" |
virtual bool DecodeImage
(
int32 InSizeX,
int32 InSizeY,
int32 InNumSlices,
EPixelFormat InPixelFormat,
bool bInSRGB,
const FName & InTextureFormatName,
FSharedBuffer InEncodedData,
FImage & OutImage,
FStringView InTextureName
) const