MaterialX 1.39.1
|
Class for a default color management system. More...
#include <DefaultColorManagementSystem.h>
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 |
Class for a default color management system.
|
overridevirtual |
Return the DefaultColorManagementSystem name.
Implements ColorManagementSystem.
|
overrideprotectedvirtual |
Returns a nodedef for a given transform.
Implements ColorManagementSystem.