MaterialX 1.39.1
Loading...
Searching...
No Matches
ColorManagementSystem Class Referenceabstract

Abstract base class for color management systems. More...

#include <ColorManagementSystem.h>

Inheritance diagram for ColorManagementSystem:
DefaultColorManagementSystem

Public Member Functions

virtual const string & getName () const =0
 Return the ColorManagementSystem name. More...
 
virtual void loadLibrary (DocumentPtr document)
 Load a library of implementations from the provided document, replacing any previously loaded content.
 
bool supportsTransform (const ColorSpaceTransform &transform) const
 Returns whether this color management system supports a provided transform.
 
ShaderNodePtr createNode (const ShaderGraph *parent, const ColorSpaceTransform &transform, const string &name, GenContext &context) const
 Create a node to use to perform the given color space transformation.
 

Protected Member Functions

 ColorManagementSystem ()
 Protected constructor.
 
virtual NodeDefPtr getNodeDef (const ColorSpaceTransform &transform) const =0
 Returns a nodedef for a given transform. More...
 

Protected Attributes

DocumentPtr _document
 

Detailed Description

Abstract base class for color management systems.

Member Function Documentation

◆ getName()

virtual const string & getName ( ) const
pure virtual

Return the ColorManagementSystem name.

Implemented in DefaultColorManagementSystem.

◆ getNodeDef()

virtual NodeDefPtr getNodeDef ( const ColorSpaceTransform transform) const
protectedpure virtual

Returns a nodedef for a given transform.

Implemented in DefaultColorManagementSystem.


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