10 #ifndef __VOP_Null_h__
11 #define __VOP_Null_h__
28 const char *
inputLabel(
unsigned idx)
const override;
29 const char *
outputLabel(
unsigned idx)
const override;
37 bool check_shader_context
42 bool forcesubnet =
false)
override;
45 unsigned outputidx = 0)
override;
50 unsigned outputidx = 0)
override;
97 void adjustOutputParmsForInputChange(
int idx,
99 void adjustOutputParmsForNamedInputChange(
102 void swapInputs(
int srcidx,
int dstidx);
107 virtual int NUMPARMS()
const;
108 virtual void OUTPUTNAME(
UT_String &str,
int idx,
bool expand)
const;
112 virtual void OUTPUTLABEL(
UT_String &str,
int idx)
const;
116 bool mySearchingForInputs;
virtual int getInputFromNameSubclass(const UT_String &in) const
void moveInput(int srcidx, int dstidx, bool forcesubnet=false) override
GLuint GLsizei const GLchar * label
OP_ERROR setNamedInputReference(const OP_ConnectorId &input_name, const char *label, int, const OP_ConnectorId *output_name=nullptr) override
virtual bool forceCodeGenerationOfInputs(const VOP_CodeGenContext &context, bool check_shader_context) const
virtual unsigned getNumVisibleInputs() const
virtual const char * inputLabel(unsigned idx) const
OP_ERROR setInput(unsigned idx, OP_Node *op, unsigned outputIdx=0) override
virtual unsigned getNumVisibleOutputs() const
OP_ERROR setInputReference(unsigned idx, const char *label, int keeppos, unsigned outputIdx=0) override
Connects an input to particular node by name in the network.
virtual void getInputTypeInfoSubclass(VOP_TypeInfo &type_info, int idx)
virtual void findSimpleInputCandidatesFromOutput(int output_index, UT_IntArray &input_indices)
virtual UT_IntArray getShaderLayerExportsInputsToCopy(int out_idx, VOP_Type shader_type)
virtual unsigned orderedInputs() const
GLuint const GLchar * name
virtual VOP_Node * findSimpleInputFromOutput(int output_index)
virtual void getCode(UT_String &codestr, const VOP_CodeGenContext &context)
Get the code fragment to be included in the shader code.
virtual const char * outputLabel(unsigned idx) const
virtual void getOutputTypeInfoSubclass(VOP_TypeInfo &type_info, int idx)
virtual void getOutputNameSubclass(UT_String &out, int idx) const
virtual void getTentativeOutputName(UT_String &out, int idx) const
VOP_Type
Enumeration of the built-in (basic) VOP data types.
virtual void getInputNameSubclass(UT_String &in, int idx) const
OP_ERROR setNamedInput(const OP_ConnectorId &input_name, OP_Node *op, const OP_ConnectorId *output_name=nullptr) override
New input functions that use names instead of indices.
virtual UT_StringHolder getShaderLayerExportsToAdd(int out_idx, VOP_Type shader_type)
virtual void postOpChanged(OP_EventType, void *)