XII Release 0.1.0
Loading...
Searching...
No Matches
xiiImageConversionEntry Struct Reference

A structure describing the pairs of source/target format that may be converted using the conversion routine. More...

#include <ImageConversion.h>

Public Member Functions

 xiiImageConversionEntry (xiiEnum< xiiGALResourceFormat > source, xiiEnum< xiiGALResourceFormat > target, xiiBitflags< xiiImageConversionFlags > flags, float fAdditionalPenalty=0)

Public Attributes

const xiiEnum< xiiGALResourceFormat > m_SourceFormat
 The source and target format of this conversion step. The actual conversion functionality is implemented in the derived classes of xiiImageConversionStep, which advertise the supported conversions through GetSupportedConversions().
const xiiEnum< xiiGALResourceFormat > m_TargetFormat
 The source and target format of this conversion step. The actual conversion functionality is implemented in the derived classes of xiiImageConversionStep, which advertise the supported conversions through GetSupportedConversions().
const xiiBitflags< xiiImageConversionFlags > m_Flags
 This member describes properties of the conversion step, e.g. whether it can be performed in-place or not.
float m_fAdditionalPenalty = 0.0f
 This member adds an additional amount to the cost estimate for this conversion step. It can be used to bias the choice between steps when there are comparable conversion steps available.

Detailed Description

A structure describing the pairs of source/target format that may be converted using the conversion routine.


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