ezEngine  Milestone 7
ezImageConversionMixinBase< Impl > Struct Template Reference

A template mixin useful as a base for custom image conversion routines. More...

#include <ImageConversionMixin.h>

Inheritance diagram for ezImageConversionMixinBase< Impl >:

Public Member Functions

virtual ezResult DoConvert (const ezImage &source, ezImage &target, ezImageFormat::Enum targetFormat) const override
 Converts an image by iterating over all sub-images and calling the implementation.
 
- Public Member Functions inherited from ezImageConversionBase
 EZ_DECLARE_ENUMERABLE_CLASS (ezImageConversionBase)
 

Additional Inherited Members

- Static Public Member Functions inherited from ezImageConversionBase
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 Attributes inherited from ezImageConversionBase
ezStaticArray< SubConversion, 16 > m_subConversions
 

Detailed Description

template<typename Impl>
struct ezImageConversionMixinBase< Impl >

A template mixin useful as a base for custom image conversion routines.


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