6 #ifndef MATERIALX_NUMLIGHTSNODEGLSL_H
7 #define MATERIALX_NUMLIGHTSNODEGLSL_H
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
#define MATERIALX_NAMESPACE_BEGIN
Utility node for getting number of active lights for GLSL.
Base class for common GLSL node implementations.
virtual void emitFunctionDefinition(const ShaderNode &node, GenContext &context, ShaderStage &stage) const
Emit function definition for the given node instance.
#define MATERIALX_NAMESPACE_END
virtual void createVariables(const ShaderNode &node, GenContext &context, Shader &shader) const