6 #ifndef MATERIALX_SOURCECODEMDL_H
7 #define MATERIALX_SOURCECODEMDL_H
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
#define MATERIALX_NAMESPACE_BEGIN
void emitFunctionCall(const ShaderNode &node, GenContext &context, ShaderStage &stage) const override
Emit the function call or inline source code for given node instance in the given context...
static ShaderNodeImplPtr create()
void initialize(const InterfaceElement &element, GenContext &context) override
#define MATERIALX_NAMESPACE_END
void emitFunctionDefinition(const ShaderNode &node, GenContext &context, ShaderStage &stage) const override
Emit function definition for the given node instance.