Open CASCADE Technology  7.1.0.beta
Public Member Functions

OpenGl_VariableSetter< T > Struct Template Reference

#include <OpenGl_ShaderProgram.hxx>

Inheritance diagram for OpenGl_VariableSetter< T >:
Inheritance graph

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. More...
- Public Member Functions inherited from OpenGl_SetterInterface
virtual ~OpenGl_SetterInterface ()
 Destructor. More...

Member Function Documentation

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

Sets user-defined uniform variable to specified program.

Implements OpenGl_SetterInterface.

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