OGRE
1.12.13
Object-Oriented Graphics Rendering Engine
|
Predefined controller value for setting a single floating- point value in a constant parameter of a vertex or fragment program. More...
#include <OgrePredefinedControllers.h>
Public Member Functions | |
FloatGpuParameterControllerValue (GpuProgramParametersSharedPtr params, size_t index) | |
Real | getValue (void) const |
void | setValue (Real value) |
Public Member Functions inherited from Ogre::ControllerValue< Real > | |
virtual | ~ControllerValue () |
Static Public Member Functions | |
static ControllerValueRealPtr | create (GpuProgramParametersSharedPtr params, size_t index) |
Constructor. More... | |
Predefined controller value for setting a single floating- point value in a constant parameter of a vertex or fragment program.
Ogre::FloatGpuParameterControllerValue::FloatGpuParameterControllerValue | ( | GpuProgramParametersSharedPtr | params, |
size_t | index | ||
) |
|
inlinestatic |
Constructor.
params | The parameters object to access |
index | The index of the parameter to be set |
|
virtual |
Implements Ogre::ControllerValue< Real >.
|
virtual |
Implements Ogre::ControllerValue< Real >.