Context classes for shader generation.
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.
Class representing a context for closure evaluation.
Definition: GenContext.h:248
void emitFunctionDefinition(const ShaderNode &node, GenContext &context, ShaderStage &stage) const override
Emit function definition for the given node instance.
A context class for shader generation.
Definition: GenContext.h:31
A shader stage, containing the state and resulting source code for the stage.
Definition: ShaderStage.h:139