#include <OglVariable.h>


Public Member Functions | |
| OglInt2Variable () | |
| virtual | ~OglInt2Variable () |
| void | initVisual () |
| Initialize the textures, or other graphical resources. | |
Private Attributes | |
| Data< defaulttype::Vec< 2, int > > | value |
Definition at line 81 of file OglVariable.h.
| sofa::component::visualmodel::OglInt2Variable::OglInt2Variable | ( | ) |
Definition at line 66 of file OglVariable.cpp.
| virtual sofa::component::visualmodel::OglInt2Variable::~OglInt2Variable | ( | ) | [inline, virtual] |
Definition at line 88 of file OglVariable.h.
| void sofa::component::visualmodel::OglInt2Variable::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 90 of file OglVariable.cpp.
References sofa::component::visualmodel::OglShader::setInt2(), sofa::component::visualmodel::OglShaderElement::shader, and value.
Data<defaulttype::Vec<2, int> > sofa::component::visualmodel::OglInt2Variable::value [private] |
1.5.7.1