6 #ifndef MATERIALX_LIGHTCOMPOUNDNODEMSL_H
7 #define MATERIALX_LIGHTCOMPOUNDNODEMSL_H
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
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...
#define MATERIALX_NAMESPACE_BEGIN
void initialize(const InterfaceElement &element, GenContext &context) override
static ShaderNodeImplPtr create()
void createVariables(const ShaderNode &node, GenContext &context, Shader &shader) const override
Compound node implementation.
VariableBlock _lightUniforms
void emitFunctionDefinition(const ShaderNode &node, GenContext &context, ShaderStage &stage) const override
Emit function definition for the given node instance.
virtual const string & getTarget() const
LightCompound node implementation for MSL.
#define MATERIALX_NAMESPACE_END