Krita Source Code Documentation
Loading...
Searching...
No Matches
ExrPaintLayerInfo Struct Reference
+ Inheritance diagram for ExrPaintLayerInfo:

Classes

struct  Remap
 

Public Member Functions

 ExrPaintLayerInfo ()
 
void updateImageType (ImageType channelType)
 
- Public Member Functions inherited from ExrLayerInfoBase
 ExrLayerInfoBase ()
 

Public Attributes

QMap< QString, QString > channelMap
 first is either R, G, B or A second is the EXR channel name
 
ImageType imageType
 
QList< RemapremappedChannels
 this is used to store in the metadata the mapping between exr channel name, and channels used in Krita
 
- Public Attributes inherited from ExrLayerInfoBase
const KoColorSpacecolorSpace
 
QString name
 
const ExrGroupLayerInfoparent
 

Detailed Description

Definition at line 88 of file exr_converter.cc.

Constructor & Destructor Documentation

◆ ExrPaintLayerInfo()

ExrPaintLayerInfo::ExrPaintLayerInfo ( )
inline

Definition at line 89 of file exr_converter.cc.

91 {
92 }
@ IT_UNKNOWN

Member Function Documentation

◆ updateImageType()

void ExrPaintLayerInfo::updateImageType ( ImageType channelType)

Definition at line 108 of file exr_converter.cc.

109{
110 if (imageType == IT_UNKNOWN) {
111 imageType = channelType;
112 }
113 else if (imageType != channelType) {
115 }
116}
@ IT_UNSUPPORTED

References imageType, IT_UNKNOWN, and IT_UNSUPPORTED.

Member Data Documentation

◆ channelMap

QMap< QString, QString> ExrPaintLayerInfo::channelMap

first is either R, G, B or A second is the EXR channel name

Definition at line 95 of file exr_converter.cc.

◆ imageType

ImageType ExrPaintLayerInfo::imageType

Definition at line 94 of file exr_converter.cc.

◆ remappedChannels

QList< Remap > ExrPaintLayerInfo::remappedChannels

this is used to store in the metadata the mapping between exr channel name, and channels used in Krita

Definition at line 104 of file exr_converter.cc.


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