|
| OgrePass (OgreMaterial *parent, const std::string &configuration, unsigned short lodIndex) |
|
virtual boost::shared_ptr< TextureUnitState > | createTextureUnitState (const std::string &name) |
|
virtual void | assignProgram (GpuProgramType type, const std::string &name) |
|
Ogre::Pass * | getOgrePass () |
|
virtual void | setGpuConstant (int type, const std::string &name, ValueType vt, PropertyValuePtr value, PropertySetGet *context) |
|
virtual void | addSharedParameter (int type, const std::string &name) |
|
virtual void | setTextureUnitIndex (int programType, const std::string &name, int index) |
|
void | setProperty (const std::string &name, PropertyValuePtr &value, PropertySetGet *context) |
|
◆ setGpuConstant()
virtual void sh::OgrePass::setGpuConstant |
( |
int |
type, |
|
|
const std::string & |
name, |
|
|
ValueType |
vt, |
|
|
PropertyValuePtr |
value, |
|
|
PropertySetGet * |
context |
|
) |
| |
|
virtual |
- Parameters
-
type | gpu program type |
name | name of the uniform in the shader |
vt | type of value, e.g. vector4 |
value | value to set |
context | used for retrieving linked values |
Implements sh::Pass.
◆ setPropertyOverride()
virtual bool sh::OgrePass::setPropertyOverride |
( |
const std::string & |
name, |
|
|
PropertyValuePtr & |
value, |
|
|
PropertySetGet * |
context |
|
) |
| |
|
protectedvirtual |
- Returns
- true if the specified property was found, or false otherwise
Reimplemented from sh::PropertySet.
The documentation for this class was generated from the following file: