17 #ifndef __VOP_ScriptMaterialInfo__
18 #define __VOP_ScriptMaterialInfo__
34 class VOP_PhantomNode;
49 { myInputsToCopy = inputs; }
51 {
return myInputsToCopy; }
54 { myExportsToAdd =
add; }
56 {
return myExportsToAdd; }
96 static void getReferencedSectionNames(
UT_IStream & is,
125 bool providesVopType(
VOP_Type shader_type );
133 bool getCodeSectionName(
UT_String & section_name,
137 void getExportParmInfos(
143 UT_IntArray getShaderLayerExportsInputsToCopy(
const char *out_name,
150 virtual bool getParameterOrProperty(
153 bool create_missing_multiparms,
157 virtual bool getParameterOrPropertyByChannel(
166 virtual int findParametersOrProperties(
fpreal now,
175 virtual OP_Node * getChild(
const char *name,
int *hint = NULL)
const;
187 const char * getChoiceLeafData(
VOP_Type type,
const char *key)
const;
192 VOP_PhantomNode * getNodeOfType(
VOP_Type type )
const;
223 VOP_NodeChoice * myNodeChoiceTree;
268 virtual void mapToVexCodeSection(
UT_String & section_name,
271 bool is_encapsulated) = 0;
276 virtual bool isPrimaryOutput(
VOP_Node *shader_node,
void setExportsToAdd(const UT_StringHolder &add)
UT_ValArray< VOP_Node * > VOP_NodeList
void setInputsToCopy(const UT_IntArray &inputs)
const UT_IntArray & getInputsToCopy() const
Mapper that provides an HDA section name for a given shader node.
virtual ~VOP_ScriptMaterialCodeMapper()
GLuint const GLchar * name
const UT_StringHolder & getExportsToAdd() const
VOP_Type
Enumeration of the built-in (basic) VOP data types.
ImageBuf OIIO_API add(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
UT_ValArray< VOP_PhantomNode * > VOP_PhantomNodeList