Open CASCADE Technology  7.2.0
Public Member Functions
OpenGl_VariableSetter< T > Struct Template Reference

#include <OpenGl_ShaderProgram.hxx>

Inheritance diagram for OpenGl_VariableSetter< T >:
Inheritance graph
[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

◆ 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: