6 #ifndef MATERIALX_MATERIALNODEOSL_H
7 #define MATERIALX_MATERIALNODEOSL_H
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
#define MATERIALX_NAMESPACE_BEGIN
virtual void emitFunctionDefinition(const ShaderNode &node, GenContext &context, ShaderStage &stage) const
Emit function definition for the given node instance.
Material node implementation.
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()
Material node implementation for OSL.
#define MATERIALX_NAMESPACE_END