6#ifndef MATERIALX_SHADERNODEIMPL_H
7#define MATERIALX_SHADERNODEIMPL_H
20class InterfaceElement;
40 virtual const string&
getTarget()
const {
return EMPTY_STRING; }
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
ShaderOutput ShaderGraphInputSocket
An internal input socket in a shader graph, used for connecting internal nodes to the outside.
Definition: ShaderGraph.h:33
A context class for shader generation.
Definition: GenContext.h:27
The base class for interface elements such as Node, NodeDef, and NodeGraph.
Definition: Interface.h:317
A node element within a NodeGraph or Document.
Definition: Node.h:54
Class representing a graph (DAG) for shader generation.
Definition: ShaderGraph.h:45
Class containing all data needed during shader generation.
Definition: Shader.h:34
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:32
virtual bool isEditable(const ShaderInput &) const
Returns true if an input is editable by users.
Definition: ShaderNodeImpl.h:86
virtual bool isEditable(const ShaderGraphInputSocket &) const
Returns true if a graph input is accessible by users.
Definition: ShaderNodeImpl.h:95
const string & getName() const
Return the name of this implementation.
Definition: ShaderNodeImpl.h:48
virtual const string & getTarget() const
Return an identifier for the target used by this implementation.
Definition: ShaderNodeImpl.h:40
size_t getHash() const
Return a hash for this implementation.
Definition: ShaderNodeImpl.h:57
An output on a ShaderNode.
Definition: ShaderNode.h:289
A shader stage, containing the state and resulting source code for the stage.
Definition: ShaderStage.h:124