11 #ifndef __VOP_GenericShader__
12 #define __VOP_GenericShader__
24 void setSHADERNAME(
const char *name );
42 VOP_Type shader_type)
const override;
78 const InOutData * getInOutData()
const;
virtual int getInputFromNameSubclass(const UT_String &in) const
virtual void getVopFunctionName(UT_String &function_name) const
virtual unsigned getNumVisibleInputs() const
virtual UT_StringHolder getShaderName(VOP_ShaderNameStyle style, VOP_Type shader_type) const
Returns the name, type, and render mask of the VOP shader.
bool updateParmsFlags() override
virtual unsigned getNumVisibleOutputs() const
virtual void getInputTypeInfoSubclass(VOP_TypeInfo &type_info, int idx)
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
virtual bool isShader() const
virtual unsigned orderedInputs() const
GLuint const GLchar * name
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
VOP_ShaderNameStyle
The allowed name formats when asking for shader name.
void opChanged(OP_EventType reason, void *data=0) override
const PRM_Template * getShaderParmTemplates() override
Obtains the template array for shader parameters.