|
MaterialX 1.38.2
|
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 ImplementationPtr | getImplementation (const ColorSpaceTransform &transform) const =0 |
| Returns an implementation for a given transform. More... | |
Protected Attributes | |
| DocumentPtr | _document |
Abstract base class for color management systems.
|
protectedpure virtual |
Returns an implementation for a given transform.
Implemented in DefaultColorManagementSystem.
|
pure virtual |
Return the ColorManagementSystem name.
Implemented in DefaultColorManagementSystem.