#include <OglVariable.h>


Public Member Functions | |
| OglFloat2Variable () | |
| virtual | ~OglFloat2Variable () |
| void | initVisual () |
| Initialize the textures, or other graphical resources. | |
Private Attributes | |
| Data< defaulttype::Vec2f > | value |
Definition at line 131 of file OglVariable.h.
| sofa::component::visualmodel::OglFloat2Variable::OglFloat2Variable | ( | ) |
Definition at line 135 of file OglVariable.cpp.
| virtual sofa::component::visualmodel::OglFloat2Variable::~OglFloat2Variable | ( | ) | [inline, virtual] |
Definition at line 138 of file OglVariable.h.
| void sofa::component::visualmodel::OglFloat2Variable::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 159 of file OglVariable.cpp.
References sofa::component::visualmodel::OglShader::setFloat2(), sofa::component::visualmodel::OglShaderElement::shader, and value.
1.5.7.1