HDK
|
#include <ShaderTranslator.h>
Public Member Functions | |
void | translateShader (NodePtr shader, const string &destCategory) |
Translate a shader node to the destination shading model. More... | |
void | translateAllMaterials (DocumentPtr doc, const string &destShader) |
Static Public Member Functions | |
static ShaderTranslatorPtr | create () |
Protected Member Functions | |
ShaderTranslator () | |
void | connectTranslationInputs (NodePtr shader, NodeDefPtr translationNodeDef) |
void | connectTranslationOutputs (NodePtr shader) |
Protected Attributes | |
NodeGraphPtr | _graph |
NodePtr | _translationNode |
A helper class for translating content between shading models.
Definition at line 21 of file ShaderTranslator.h.
|
inlineprotected |
Definition at line 37 of file ShaderTranslator.h.
|
protected |
|
inlinestatic |
Definition at line 24 of file ShaderTranslator.h.
void ShaderTranslator::translateAllMaterials | ( | DocumentPtr | doc, |
const string & | destShader | ||
) |
Translate each material in the input document to the destination shading model.
Translate a shader node to the destination shading model.
|
protected |
Definition at line 46 of file ShaderTranslator.h.
|
protected |
Definition at line 47 of file ShaderTranslator.h.