15 #ifndef __SHOP_Output__
16 #define __SHOP_Output__
53 unsigned outputIdx=0)
override;
63 static int getMaterialOutputCount();
SHOP_Output(OP_Network *dad, const char *name, OP_Operator *entry, SHOP_TYPE shader_type=SHOP_MUTABLE)
virtual unsigned maxInputs() const
Maximum inputs that can be connected to a node.
virtual void updateVisibleInputsAndOutputs()
virtual SHOP_TYPE getInputType(int idx) const
static const int theMaxInputSize
virtual OP_ERROR setInput(unsigned idx, OP_Node *op, unsigned outputIdx=0)
Sets a given input to connect to an output of a particular node.
virtual OP_ERROR setNamedInput(const OP_ConnectorId &input_name, OP_Node *op, const OP_ConnectorId *output_name=nullptr)
New input functions that use names instead of indices.
GLuint const GLchar * name
void getInputName(UT_String &name, int idx) const override
virtual int getInputTileLOD() const
virtual bool isInputVisible(int idx) const
A map of string to various well defined value types.
virtual int collectShaders(UT_ValArray< SHOP_Node * > &list, SHOP_TYPE shop_type, fpreal now, const UT_Options *options)
virtual SHOP_Node * findShader(SHOP_TYPE shop_type, fpreal now, const UT_Options *options)
virtual SHOP_TYPE getNamedInputType(const OP_ConnectorId &input_name) const