6#ifndef MATERIALX_LIGHTSHADERNODEGLSL_H
7#define MATERIALX_LIGHTSHADERNODEGLSL_H
10#include <MaterialXGenShader/Nodes/SourceCodeNode.h>
12MATERIALX_NAMESPACE_BEGIN
19 LightShaderNodeGlsl();
35MATERIALX_NAMESPACE_END
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
Definition Library.h:40
A context class for shader generation.
Definition GenContext.h:31
The base class for interface elements such as Node, NodeDef, and NodeGraph.
Definition Interface.h:312
const string & getTarget() const override
Return an identifier for the target used by this implementation.
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 initialize(const InterfaceElement &element, GenContext &context) override
Initialize with the given implementation element.
void createVariables(const ShaderNode &node, GenContext &context, Shader &shader) const override
Create shader variables needed for the implementation of this node (e.g.
Class containing all data needed during shader generation.
Definition Shader.h:33
Class representing a node in the shader generation DAG.
Definition ShaderNode.h:320
A shader stage, containing the state and resulting source code for the stage.
Definition ShaderStage.h:139
Implementation for a node using data-driven static source code.
Definition SourceCodeNode.h:20
A block of variables in a shader stage.
Definition ShaderStage.h:61