OGRE
1.11.6
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) |
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 >.