Open CASCADE Technology 7.8.2.dev
OpenGl_VariableSetter< T > Struct Template Reference

#include <OpenGl_ShaderProgram.hxx>

Inheritance diagram for OpenGl_VariableSetter< T >:

Public Member Functions

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

Member Function Documentation

◆ Set()

template<class T >
virtual void OpenGl_VariableSetter< T >::Set ( const Handle< OpenGl_Context > & theCtx,
const Handle< Graphic3d_ShaderVariable > & theVariable,
OpenGl_ShaderProgram * theProgram )
inlinevirtual

Sets user-defined uniform variable to specified program.

Implements OpenGl_SetterInterface.


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