|
| OgreGpuProgram (GpuProgramType type, const std::string &compileArguments, const std::string &name, const std::string &profile, const std::string &source, const std::string &lang, const std::string &resourceGroup) |
|
virtual bool | getSupported () |
|
virtual void | setAutoConstant (const std::string &name, const std::string &autoConstantName, const std::string &extraInfo="") |
|
◆ getSupported()
virtual bool sh::OgreGpuProgram::getSupported |
( |
| ) |
|
|
virtual |
- Returns
- true if the compilation was successful
Implements sh::GpuProgram.
◆ setAutoConstant()
virtual void sh::OgreGpuProgram::setAutoConstant |
( |
const std::string & |
name, |
|
|
const std::string & |
autoConstantName, |
|
|
const std::string & |
extraInfo = "" |
|
) |
| |
|
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 |
Implements sh::GpuProgram.
The documentation for this class was generated from the following file: