#include <OgreShaderParams.h>
◆ getManualValue() [1/2]
template<typename T >
void Ogre::ShaderParams::Param::getManualValue |
( |
T & |
value | ) |
const |
|
inline |
Returns the value.
Assumes this is a manual value. Assumes the param holds enough bytes to fill the type of value you want to retrieve. Examples: uint32 myVal; param->getManualValue( myVal ); Vector4 myVector4; param->getManualValue( myVector4 );
◆ getManualValue() [2/2]
template<typename T >
T Ogre::ShaderParams::Param::getManualValue |
( |
void |
| ) |
const |
|
inline |
◆ setManualValue() [1/12]
template<typename T >
void Ogre::ShaderParams::Param::setManualValue |
( |
T |
value, |
|
|
uint32 |
numValues, |
|
|
ElementType |
elementType |
|
) |
| |
◆ setManualValue() [2/12]
void Ogre::ShaderParams::Param::setManualValue |
( |
const Vector2 & |
value | ) |
|
◆ setManualValue() [3/12]
void Ogre::ShaderParams::Param::setManualValue |
( |
const Vector3 & |
value | ) |
|
◆ setManualValue() [4/12]
void Ogre::ShaderParams::Param::setManualValue |
( |
const Vector4 & |
value | ) |
|
◆ setManualValue() [5/12]
void Ogre::ShaderParams::Param::setManualValue |
( |
const Matrix3 & |
value | ) |
|
◆ setManualValue() [6/12]
void Ogre::ShaderParams::Param::setManualValue |
( |
const Matrix4 & |
value | ) |
|
◆ setManualValue() [7/12]
void Ogre::ShaderParams::Param::setManualValue |
( |
float |
value | ) |
|
Shortcut for setting the given value without dealing with mp manually.
- See also
- ShaderParams::setDirty otherwise changes won't take effect.
◆ setManualValue() [8/12]
void Ogre::ShaderParams::Param::setManualValue |
( |
const float * |
value, |
|
|
uint32 |
numValues |
|
) |
| |
◆ setManualValue() [9/12]
void Ogre::ShaderParams::Param::setManualValue |
( |
int32 |
value | ) |
|
◆ setManualValue() [10/12]
void Ogre::ShaderParams::Param::setManualValue |
( |
const int32 * |
value, |
|
|
uint32 |
numValues |
|
) |
| |
◆ setManualValue() [11/12]
void Ogre::ShaderParams::Param::setManualValue |
( |
uint32 |
value | ) |
|
◆ setManualValue() [12/12]
void Ogre::ShaderParams::Param::setManualValue |
( |
const uint32 * |
value, |
|
|
uint32 |
numValues |
|
) |
| |
◆ @21
◆ ap
◆ isAutomatic
bool Ogre::ShaderParams::Param::isAutomatic |
◆ isDirty
bool Ogre::ShaderParams::Param::isDirty |
◆ mp
◆ name
String Ogre::ShaderParams::Param::name |
The documentation for this struct was generated from the following file: