6#ifndef MATERIALX_SURFACENODEGLSL_H
7#define MATERIALX_SURFACENODEGLSL_H
12MATERIALX_NAMESPACE_BEGIN
36MATERIALX_NAMESPACE_END
Macros for declaring imported and exported symbols.
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
Definition: Library.h:40
Class representing a context for closure evaluation.
Definition: GenContext.h:229
A context class for shader generation.
Definition: GenContext.h:31
Base class for common GLSL node implementations.
Definition: GlslShaderGenerator.h:92
Class containing all data needed during shader generation.
Definition: Shader.h:33
Class representing a node in the shader generation DAG.
Definition: ShaderNode.h:323
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.
Definition: ShaderNodeImpl.cpp:57
virtual void createVariables(const ShaderNode &node, GenContext &context, Shader &shader) const
Create shader variables needed for the implementation of this node (e.g.
Definition: ShaderNodeImpl.cpp:49
A shader stage, containing the state and resulting source code for the stage.
Definition: ShaderStage.h:132
Surface node implementation for GLSL.
Definition: SurfaceNodeGlsl.h:16
ClosureContext _callReflection
Closure contexts for calling closure functions.
Definition: SurfaceNodeGlsl.h:30