Open CASCADE Technology  7.3.0
Public Member Functions

OpenGl_VariableSetterSelector Class Reference

Support tool for setting user-defined uniform variables. More...

#include <OpenGl_ShaderProgram.hxx>

Public Member Functions

 OpenGl_VariableSetterSelector ()
 Creates new setter selector. More...
 
 ~OpenGl_VariableSetterSelector ()
 Releases memory resources of setter selector. More...
 
void Set (const Handle< OpenGl_Context > &theCtx, const Handle< Graphic3d_ShaderVariable > &theVariable, OpenGl_ShaderProgram *theProgram) const
 Sets user-defined uniform variable to specified program. More...
 

Detailed Description

Support tool for setting user-defined uniform variables.

Constructor & Destructor Documentation

◆ OpenGl_VariableSetterSelector()

OpenGl_VariableSetterSelector::OpenGl_VariableSetterSelector ( )

Creates new setter selector.

◆ ~OpenGl_VariableSetterSelector()

OpenGl_VariableSetterSelector::~OpenGl_VariableSetterSelector ( )

Releases memory resources of setter selector.

Member Function Documentation

◆ Set()

void OpenGl_VariableSetterSelector::Set ( const Handle< OpenGl_Context > &  theCtx,
const Handle< Graphic3d_ShaderVariable > &  theVariable,
OpenGl_ShaderProgram theProgram 
) const

Sets user-defined uniform variable to specified program.


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