#include <OglVariable.h>


Public Member Functions | |
| OglFloat3Variable () | |
| virtual | ~OglFloat3Variable () |
| void | initVisual () |
| Initialize the textures, or other graphical resources. | |
Private Attributes | |
| Data< defaulttype::Vec3f > | value |
Definition at line 143 of file OglVariable.h.
| sofa::component::visualmodel::OglFloat3Variable::OglFloat3Variable | ( | ) |
Definition at line 141 of file OglVariable.cpp.
| virtual sofa::component::visualmodel::OglFloat3Variable::~OglFloat3Variable | ( | ) | [inline, virtual] |
Definition at line 150 of file OglVariable.h.
| void sofa::component::visualmodel::OglFloat3Variable::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 164 of file OglVariable.cpp.
References sofa::component::visualmodel::OglShader::setFloat3(), sofa::component::visualmodel::OglShaderElement::shader, and value.
1.5.7.1