A context class for shader generation.
Definition: GenContext.h:31
void emitFunctionCall(const ShaderNode &node, GenContext &context, ShaderStage &stage) const override
Emit the function call or inline source code for given node instance in the given context.
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