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