OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    OpenGl_VariableSetterSelector Class Reference

    List of OpenGL shader objects. More...

    #include <OpenGl_ShaderProgram.hxx>

    Public Member Functions

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

    Detailed Description

    List of OpenGL shader objects.

    List of shader variable setters. 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 occ::handle< OpenGl_Context > & theCtx,
    const occ::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: