ImageUtil
Engine/source/gfx/bitmap/imageUtils.cpp
Classes:
Public Enumerations
enum
CompressQuality { LowQuality MediumQuality HighQuality }
Public Functions
_getSquishFormat(const GFXFormat compressFormat)
_getSquishQuality(const CompressQuality quality)
bool
ddsCompress(DDSFile * srcDDS, const GFXFormat compressFormat, const CompressQuality compressQuality)
bool
bool
isAlphaFormat(const GFXFormat format)
bool
isCompressedFormat(const GFXFormat format)
bool
isSRGBFormat(const GFXFormat format)
bool
toSRGBFormat(const GFXFormat format)
Detailed Description
Public Enumerations
CompressQuality
Enumerator
- LowQuality
- MediumQuality
- HighQuality
Public Functions
_getSquishFormat(const GFXFormat compressFormat)
_getSquishQuality(const CompressQuality quality)
ddsCompress(DDSFile * srcDDS, const GFXFormat compressFormat, const CompressQuality compressQuality)
decompress(const U8 * src, U8 * dstRGBA, const S32 width, const S32 height, const GFXFormat srcFormat)
getMaxMipCount(const U32 width, const U32 height)
isAlphaFormat(const GFXFormat format)
isCompressedFormat(const GFXFormat format)
isSRGBFormat(const GFXFormat format)
rawCompress(const U8 * srcRGBA, U8 * dst, const S32 width, const S32 height, const GFXFormat compressFormat, const CompressQuality compressQuality)
swizzleDDS(DDSFile * srcDDS, const Swizzle< U8, 4 > & swizzle)
toSRGBFormat(const GFXFormat format)