MaterialX 1.38.2
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ShaderTranslator Class Reference

Public Member Functions

void translateShader (NodePtr shader, const string &destCategory)
 Translate a shader node to the destination shading model.
 
void translateAllMaterials (DocumentPtr doc, string destShader)
 Translate each material in the input document to the destination shading model.
 

Static Public Member Functions

static ShaderTranslatorPtr create ()
 

Protected Member Functions

void connectTranslationInputs (NodePtr shader, NodeDefPtr translationNodeDef)
 
void connectTranslationOutputs (NodePtr shader)
 

Protected Attributes

NodeGraphPtr _graph
 
NodePtr _translationNode
 

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