Plasma Engine  2.0
Loading...
Searching...
No Matches
plImageConversionEntry 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

 plImageConversionEntry (plImageFormat::Enum source, plImageFormat::Enum target, plImageConversionFlags::Enum flags, float additionalPenalty=0)
 

Public Attributes

const plImageFormat::Enum m_sourceFormat
 
const plImageFormat::Enum m_targetFormat
 
const plBitflags< plImageConversionFlags > m_flags
 
float m_additionalPenalty = 0.0f
 

Detailed Description

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

Member Data Documentation

◆ m_additionalPenalty

float plImageConversionEntry::m_additionalPenalty = 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.


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