Navigation
API > API/Developer > API/Developer/TextureFormat > API/Developer/TextureFormat/Interfaces > API/Developer/TextureFormat/Interfaces/ITextureFormat
References
| Module | TextureFormat |
| Header | /Engine/Source/Developer/TextureFormat/Public/Interfaces/ITextureFormat.h |
| Include | #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
Remarks
Decodes an image encoded as a EPixelFormat into something encoded as a ERawImageFormat. This will only be called if CanDecodeFormat returns true.