A context class for shader generation.
Definition: GenContext.h:31
virtual void emitFunctionDefinition(const ShaderNode &node, GenContext &context, ShaderStage &stage) const
Emit function definition for the given node instance.
Definition: ShaderNodeImpl.cpp:53
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