Open 3D Engine Atom Gem API Reference 24.09.2
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ImageProcessingAtom::CTSquisher Class Reference

Inherits ImageProcessingAtom::ICompressor.

Public Member Functions

IImageObjectPtr CompressImage (IImageObjectPtr srcImage, EPixelFormat fmtDst, const CompressOption *compressOption) const override
 
IImageObjectPtr DecompressImage (IImageObjectPtr srcImage, EPixelFormat fmtDst) const override
 
EPixelFormat GetSuggestedUncompressedFormat (EPixelFormat compressedfmt, EPixelFormat uncompressedfmt) const override
 
ColorSpace GetSupportedColorSpace (EPixelFormat compressFormat) const final
 
const char * GetName () const final
 
- Public Member Functions inherited from ImageProcessingAtom::ICompressor

Static Public Member Functions

static bool IsCompressedPixelFormatSupported (EPixelFormat fmt)
 
static bool IsUncompressedPixelFormatSupported (EPixelFormat fmt)
 
static bool DoesSupportDecompress (EPixelFormat fmtDst)
 
- Static Public Member Functions inherited from ImageProcessingAtom::ICompressor
static ICompressorPtr FindCompressor (EPixelFormat fmt, ColorSpace colorSpace, bool isCompressing)
 

Additional Inherited Members

- Public Types inherited from ImageProcessingAtom::ICompressor
enum  EQuality : uint32_t {
  eQuality_Preview = 0u , eQuality_Fast , eQuality_Normal , eQuality_Slow ,
  Count
}
 

Member Function Documentation

◆ CompressImage()

IImageObjectPtr ImageProcessingAtom::CTSquisher::CompressImage ( IImageObjectPtr srcImage,
EPixelFormat fmtDst,
const CompressOption * compressOption ) const
overridevirtual

◆ DecompressImage()

IImageObjectPtr ImageProcessingAtom::CTSquisher::DecompressImage ( IImageObjectPtr srcImage,
EPixelFormat fmtDst ) const
overridevirtual

◆ GetName()

const char * ImageProcessingAtom::CTSquisher::GetName ( ) const
finalvirtual

◆ GetSuggestedUncompressedFormat()

EPixelFormat ImageProcessingAtom::CTSquisher::GetSuggestedUncompressedFormat ( EPixelFormat compressedfmt,
EPixelFormat uncompressedfmt ) const
overridevirtual

◆ GetSupportedColorSpace()

ColorSpace ImageProcessingAtom::CTSquisher::GetSupportedColorSpace ( EPixelFormat compressFormat) const
finalvirtual

The documentation for this class was generated from the following file: