MaterialX 1.38.7
No Matches
ColorManagementSystem Class Referenceabstract

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

#include <ColorManagementSystem.h>

Inheritance diagram for ColorManagementSystem:

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 ImplementationPtr getImplementation (const ColorSpaceTransform &transform) const =0
 Returns an implementation for a given transform. More...

Protected Attributes

DocumentPtr _document

Detailed Description

Abstract base class for color management systems.

Member Function Documentation

◆ getImplementation()

virtual ImplementationPtr getImplementation ( const ColorSpaceTransform transform) const
protectedpure virtual

Returns an implementation for a given transform.

Implemented in DefaultColorManagementSystem.

◆ getName()

virtual const string & getName ( ) const
pure virtual

Return the ColorManagementSystem name.

Implemented in DefaultColorManagementSystem.

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