#include <OglVariable.h>


Public Member Functions | |
| OglIntVariable () | |
| virtual | ~OglIntVariable () |
| void | initVisual () |
| Initialize the textures, or other graphical resources. | |
Private Attributes | |
| Data< int > | value |
Definition at line 69 of file OglVariable.h.
| sofa::component::visualmodel::OglIntVariable::OglIntVariable | ( | ) |
Definition at line 60 of file OglVariable.cpp.
| virtual sofa::component::visualmodel::OglIntVariable::~OglIntVariable | ( | ) | [inline, virtual] |
Definition at line 76 of file OglVariable.h.
| void sofa::component::visualmodel::OglIntVariable::initVisual | ( | ) | [virtual] |
Initialize the textures, or other graphical resources.
Called once before the first frame is drawn, and if the graphical context has been recreated.
Reimplemented from sofa::component::visualmodel::OglVariable.
Definition at line 84 of file OglVariable.cpp.
References sofa::core::objectmodel::Data< T >::getValue(), sofa::component::visualmodel::OglShader::setInt(), sofa::component::visualmodel::OglShaderElement::shader, and value.
1.5.7.1