|
|
virtual boost::shared_ptr< TextureUnitState > | createTextureUnitState (const std::string &name)=0 |
| |
|
virtual void | assignProgram (GpuProgramType type, const std::string &name)=0 |
| |
| virtual void | setGpuConstant (int type, const std::string &name, ValueType vt, PropertyValuePtr value, PropertySetGet *context)=0 |
| |
|
virtual void | setTextureUnitIndex (int programType, const std::string &name, int index)=0 |
| |
|
virtual void | addSharedParameter (int type, const std::string &name)=0 |
| |
|
void | setProperty (const std::string &name, PropertyValuePtr &value, PropertySetGet *context) |
| |
◆ setGpuConstant()
| virtual void sh::Pass::setGpuConstant |
( |
int |
type, |
|
|
const std::string & |
name, |
|
|
ValueType |
vt, |
|
|
PropertyValuePtr |
value, |
|
|
PropertySetGet * |
context |
|
) |
| |
|
pure 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 |
Implemented in sh::OgrePass.
The documentation for this class was generated from the following file: