6 #ifndef MATERIALX_OCIO_NODE_H
7 #define MATERIALX_OCIO_NODE_H
9 #ifdef MATERIALX_BUILD_OCIO
39 string getFunctionName()
const;
44 #endif // MATERIALX_BUILD_OCIO
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.
virtual void initialize(const InterfaceElement &element, GenContext &context)
#define MATERIALX_NAMESPACE_END
virtual void emitFunctionCall(const ShaderNode &node, GenContext &context, ShaderStage &stage) const
Emit the function call or inline source code for given node instance in the given context...