6 #ifndef MATERIALX_SURFACENODEMSL_H
7 #define MATERIALX_SURFACENODEMSL_H
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
ClosureContext _callReflection
Closure contexts for calling closure functions.
#define MATERIALX_NAMESPACE_BEGIN
ClosureContext _callIndirect
ClosureContext _callEmission
Base class for common MSL node implementations.
Surface node implementation for MSL.
ClosureContext _callTransmission
#define MATERIALX_NAMESPACE_END
virtual void createVariables(const ShaderNode &node, GenContext &context, Shader &shader) const
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...