Open CASCADE Technology  7.4.0
Public Member Functions
OpenGl_SetterInterface Struct Referenceabstract

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

#include <OpenGl_ShaderProgram.hxx>

Inheritance diagram for OpenGl_SetterInterface:
Inheritance graph
[legend]

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. More...
 
virtual ~OpenGl_SetterInterface ()
 Destructor. More...
 

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: