|
virtual bool | getSupported ()=0 |
|
virtual void | setAutoConstant (const std::string &name, const std::string &autoConstantName, const std::string &extraInfo="")=0 |
|
◆ getSupported()
virtual bool sh::GpuProgram::getSupported |
( |
| ) |
|
|
pure virtual |
◆ setAutoConstant()
virtual void sh::GpuProgram::setAutoConstant |
( |
const std::string & |
name, |
|
|
const std::string & |
autoConstantName, |
|
|
const std::string & |
extraInfo = "" |
|
) |
| |
|
pure virtual |
- Parameters
-
name | name of the uniform in the shader |
autoConstantName | name of the auto constant (for example world_viewproj_matrix) |
extraInfo | if any extra info is needed (e.g. light index), put it here |
Implemented in sh::OgreGpuProgram.
The documentation for this class was generated from the following file: