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