Open CASCADE Technology
7.5.0
|
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... | |
Support tool for setting user-defined uniform variables.
OpenGl_VariableSetterSelector::OpenGl_VariableSetterSelector | ( | ) |
Creates new setter selector.
OpenGl_VariableSetterSelector::~OpenGl_VariableSetterSelector | ( | ) |
Releases memory resources of setter selector.
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.