A context class for shader generation.
Definition: GenContext.h:31
void emitFunctionDefinition(const ShaderNode &node, GenContext &context, ShaderStage &stage) const override
Emit function definition for the given node instance.
void createVariables(const ShaderNode &node, GenContext &context, Shader &shader) const override
Create shader variables needed for the implementation of this node (e.g.
A shader stage, containing the state and resulting source code for the stage.
Definition: ShaderStage.h:139