MaterialX 1.39.1
|
Abstract base class for color management systems. More...
#include <ColorManagementSystem.h>
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 |
Abstract base class for color management systems.
|
pure virtual |
Return the ColorManagementSystem name.
Implemented in DefaultColorManagementSystem.
|
protectedpure virtual |
Returns a nodedef for a given transform.
Implemented in DefaultColorManagementSystem.