OGRE-Next
4.0.0unstable
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) | |
Constructor. More... | |
~FloatGpuParameterControllerValue () override | |
Real | getValue () const override |
void | setValue (Real value) override |
Public Member Functions inherited from Ogre::ControllerValue< Real > | |
virtual | ~ControllerValue () |
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 | ||
) |
Constructor.
params | The parameters object to access |
index | The index of the parameter to be set |
|
inlineoverride |
|
overridevirtual |
Implements Ogre::ControllerValue< Real >.
|
overridevirtual |
Implements Ogre::ControllerValue< Real >.