10 #ifndef __VOP_OutputVar_h__
11 #define __VOP_OutputVar_h__
38 const char *
inputLabel(
unsigned idx)
const override;
44 bool check_shader_context
50 void setOUTPUTCODELAST(
bool flag);
51 bool OUTPUTCODELAST();
58 {
return myGlobalVarList; }
61 int output_index)
override;
77 void setSHADERTYPE(
VOP_Type shader_type);
96 void refreshGlobalVariables();
107 bool usingShaderType()
const;
114 bool myIsSearchingForInputs;
virtual int getInputFromNameSubclass(const UT_String &in) const
virtual void getVopFunctionName(UT_String &function_name) const
virtual void getContextsForCodeGeneration(UT_StringArray &context_names) const
virtual void initMaterialFlag()
virtual void getAllowedInputTypesSubclass(unsigned idx, VOP_VopTypeArray &voptypes)
virtual unsigned maxInputs() const
Maximum inputs that can be connected to a node.
virtual bool forceCodeGenerationOfInputs(const VOP_CodeGenContext &context, bool check_shader_context) const
bool updateParmsFlags() override
virtual const char * inputLabel(unsigned idx) const
virtual bool isOutputVopNode() const
virtual unsigned getNumVisibleOutputs() const
const VOP_GlobalVarList & getGlobalVarList() const
Obtains the list of global variables that make up the inputs.
virtual void getVopFunctionReturnInfo(VOP_FunctionArgInfo &i) const
virtual void getInputTypeInfoSubclass(VOP_TypeInfo &type_info, int idx)
virtual int getLatestVopVersion() const
virtual void findSimpleInputCandidatesFromOutput(int output_index, UT_IntArray &input_indices)
VOP_OutputVar * castToOutputVar() override
virtual void preOpChanged(OP_EventType, void *)
virtual void loadFinished()
virtual bool isVopMethod() const
Returns true if the VOP represents a method inside a class.
GLuint const GLchar * name
virtual void getVopFunctionArgInfos(UT_Array< VOP_FunctionArgInfo > &arg_infos)
const VOP_OutputVar * castToOutputVar() const override
virtual VOP_Node * findSimpleInputFromOutput(int output_index)
virtual void initializeNode()
virtual void getCode(UT_String &codestr, const VOP_CodeGenContext &context)
Get the code fragment to be included in the shader code.
virtual void getOutputTypeInfoSubclass(VOP_TypeInfo &type_info, int idx)
virtual void getOutputNameSubclass(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
virtual VOP_ContextType getSpecificShaderContextType() const
virtual void ensureParametersAreValid()
virtual bool isVopMethodPublic() const
Returns true if the VOP represents a method inside a class.