Open CASCADE Technology: OpenGl_VariableSetter< T > Struct Template Reference

Open CASCADE Technology 6.8.0

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

Public Member Functions
OpenGl_VariableSetter< T > Struct Template Reference

`#include <OpenGl_ShaderProgram.hxx>`

Inheritance diagram for OpenGl_VariableSetter< T >:
[legend]

## 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
| ) |  |
| inlinevirtual

Sets user-defined uniform variable to specified program.

Implements OpenGl_SetterInterface.

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

- OpenGl_ShaderProgram.hxx