OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Specialisation of HighLevelGpuProgram to provide support for CG. More...
#include <OgreGLSLESCgProgram.h>
Classes | |
class | CmdEntryPoint |
Command object for setting entry point. More... | |
class | CmdProfiles |
Command object for setting profiles. More... | |
Public Member Functions | |
GLSLESCgProgram (ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader) | |
~GLSLESCgProgram () | |
const String & | getEntryPoint (void) const |
Gets the entry point defined for this program. | |
const String & | getLanguage (void) const |
Overridden from GLSLESProgram. | |
const StringVector & | getProfiles (void) const |
Gets the Cg profiles which can be supported by the program. | |
void | loadFromSource (void) |
Overridden from GLSLESProgram. | |
void | setEntryPoint (const String &entryPoint) |
Sets the entry point for this program ie the first method called. | |
void | setProfiles (const StringVector &profiles) |
Sets the Cg profiles which can be supported by the program. | |
Specialisation of HighLevelGpuProgram to provide support for CG.
Ogre::GLSLESCgProgram::GLSLESCgProgram | ( | ResourceManager * | creator, |
const String & | name, | ||
ResourceHandle | handle, | ||
const String & | group, | ||
bool | isManual, | ||
ManualResourceLoader * | loader | ||
) |
Ogre::GLSLESCgProgram::~GLSLESCgProgram | ( | ) |
Gets the entry point defined for this program.
|
inline |
Gets the Cg profiles which can be supported by the program.
Sets the entry point for this program ie the first method called.
void Ogre::GLSLESCgProgram::setProfiles | ( | const StringVector & | profiles | ) |
Sets the Cg profiles which can be supported by the program.