MaterialX 1.39.1
Loading...
Searching...
No Matches
DefaultColorManagementSystem Class Reference

Class for a default color management system. More...

#include <DefaultColorManagementSystem.h>

Inheritance diagram for DefaultColorManagementSystem:
ColorManagementSystem

Public Member Functions

const string & getName () const override
 Return the DefaultColorManagementSystem name. More...
 
- Public Member Functions inherited from ColorManagementSystem
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.
 

Static Public Member Functions

static DefaultColorManagementSystemPtr create (const string &target)
 Create a new DefaultColorManagementSystem.
 

Protected Member Functions

NodeDefPtr getNodeDef (const ColorSpaceTransform &transform) const override
 Returns a nodedef for a given transform. More...
 
 DefaultColorManagementSystem (const string &target)
 Protected constructor.
 
- Protected Member Functions inherited from ColorManagementSystem
 ColorManagementSystem ()
 Protected constructor.
 
virtual NodeDefPtr getNodeDef (const ColorSpaceTransform &transform) const =0
 Returns a nodedef for a given transform. More...
 

Additional Inherited Members

- Protected Attributes inherited from ColorManagementSystem
DocumentPtr _document
 

Detailed Description

Class for a default color management system.

Member Function Documentation

◆ getName()

const string & getName ( ) const
overridevirtual

◆ getNodeDef()

NodeDefPtr getNodeDef ( const ColorSpaceTransform transform) const
overrideprotectedvirtual

Returns a nodedef for a given transform.

Implements ColorManagementSystem.


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