Open CASCADE Technology 7.8.2.dev
OpenGl_SetterInterface Struct Referenceabstract

Interface for generic setter of user-defined uniform variables. More...

#include <OpenGl_ShaderProgram.hxx>

Inheritance diagram for OpenGl_SetterInterface:

Public Member Functions

virtual void Set (const Handle< OpenGl_Context > &theCtx, const Handle< Graphic3d_ShaderVariable > &theVariable, OpenGl_ShaderProgram *theProgram)=0
 Sets user-defined uniform variable to specified program.
 
virtual ~OpenGl_SetterInterface ()
 Destructor.
 

Detailed Description

Interface for generic setter of user-defined uniform variables.

Constructor & Destructor Documentation

◆ ~OpenGl_SetterInterface()

virtual OpenGl_SetterInterface::~OpenGl_SetterInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Set()

virtual void OpenGl_SetterInterface::Set ( const Handle< OpenGl_Context > & theCtx,
const Handle< Graphic3d_ShaderVariable > & theVariable,
OpenGl_ShaderProgram * theProgram )
pure virtual

Sets user-defined uniform variable to specified program.

Implemented in OpenGl_VariableSetter< T >.


The documentation for this struct was generated from the following file: