6#ifndef MATERIALX_SHADERNODEIMPL_H
7#define MATERIALX_SHADERNODEIMPL_H
17MATERIALX_NAMESPACE_BEGIN
39 virtual const string&
getTarget()
const {
return EMPTY_STRING; }
68 virtual void addClassification(
ShaderNode& node)
const;
121MATERIALX_NAMESPACE_END
Macros for declaring imported and exported symbols.
Library-wide includes and types.
shared_ptr< ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
Definition: Library.h:40
shared_ptr< class ShaderNodeImpl > ShaderNodeImplPtr
Shared pointer to a ShaderNodeImpl.
Definition: ShaderNodeImpl.h:24
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:318
A node element within a NodeGraph or Document.
Definition: Node.h:53
A no operation node, to be used for organizational nodes that has no code to execute.
Definition: ShaderNodeImpl.h:116
Class representing a graph (DAG) for shader generation.
Definition: ShaderGraph.h:44
Class containing all data needed during shader generation.
Definition: Shader.h:33
Class representing a node in the shader generation DAG.
Definition: ShaderNode.h:326
Class handling the shader generation implementation for a node.
Definition: ShaderNodeImpl.h:31
virtual bool isEditable(const ShaderInput &) const
Returns true if an input is editable by users.
Definition: ShaderNodeImpl.h:91
virtual bool isEditable(const ShaderGraphInputSocket &) const
Returns true if a graph input is accessible by users.
Definition: ShaderNodeImpl.h:100
const string & getName() const
Return the name of this implementation.
Definition: ShaderNodeImpl.h:47
virtual const string & getTarget() const
Return an identifier for the target used by this implementation.
Definition: ShaderNodeImpl.h:39
size_t getHash() const
Return a hash for this implementation.
Definition: ShaderNodeImpl.h:56
An output on a ShaderNode.
Definition: ShaderNode.h:301
A shader stage, containing the state and resulting source code for the stage.
Definition: ShaderStage.h:139