6 #ifndef MATERIALX_CLOSURECOMPOUNDNODE_H
7 #define MATERIALX_CLOSURECOMPOUNDNODE_H
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
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...
#define MATERIALX_NAMESPACE_BEGIN
static ShaderNodeImplPtr create()
Compound node implementation.
virtual void addClassification(ShaderNode &node) const
Add additional classifications on a node.
void emitFunctionDefinition(const ShaderNode &node, GenContext &context, ShaderStage &stage) const override
Emit function definition for the given node instance.
Extending the CompoundNode with requirements for closures.
#define MATERIALX_NAMESPACE_END