ezEngine  Milestone 7
ezImageConversionBase Class Referenceabstract

Helper class containing utilities to convert between different image formats and layouts. More...

#include <ImageConversion.h>

Inheritance diagram for ezImageConversionBase:

Classes

struct  SubConversion
 

Public Member Functions

 EZ_DECLARE_ENUMERABLE_CLASS (ezImageConversionBase)
 

Static Public Member Functions

static ezImageFormat::Enum FindClosestCompatibleFormat (ezImageFormat::Enum format, const ezImageFormat::Enum *pCompatibleFormats, ezUInt32 uiNumCompatible)
 Finds the image format from a given list of formats which is the cheapest to convert to.
 
template<int N>
static ezImageFormat::Enum FindClosestCompatibleFormat (ezImageFormat::Enum format, const ezImageFormat::Enum(&compatibleFormats)[N])
 Finds the image format from a given list of formats which is the cheapest to convert to.
 
static ezResult Convert (const ezImage &source, ezImage &target, ezImageFormat::Enum targetFormat)
 

Protected Member Functions

virtual ezResult DoConvert (const ezImage &source, ezImage &target, ezImageFormat::Enum targetFormat) const =0
 

Protected Attributes

ezStaticArray< SubConversion, 16 > m_subConversions
 
- Protected Attributes inherited from ezEnumerable< ezImageConversionBase >
ezEnumerablem_pNextInstance
 

Static Private Member Functions

static void RebuildConversionTable ()
 

Detailed Description

Helper class containing utilities to convert between different image formats and layouts.


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