![]() |
OGRE
1.10.4
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 () | |
GpuProgram * | _getBindingDelegate (void) |
Since GLSL has no assembly, use this shader for binding. More... | |
void | attachToProgramObject (const GLuint programObject) |
void | bindProgram (void) |
Execute the binding functions for this program. More... | |
void | bindProgramParameters (GpuProgramParametersSharedPtr params, uint16 mask) |
Execute the param binding functions for this program. More... | |
void | bindProgramPassIterationParameters (GpuProgramParametersSharedPtr params) |
Execute the pass iteration param binding functions for this program. More... | |
void | bindProgramSharedParameters (GpuProgramParametersSharedPtr params, uint16 mask) |
Execute the shared param binding functions for this program. More... | |
size_t | calculateSize (void) const |
bool | compile (const bool checkErrors=false) |
compile source into shader object More... | |
GLuint | createGLProgramHandle () |
GpuProgramParametersSharedPtr | createParameters (void) |
Overridden from GpuProgram. More... | |
void | detachFromProgramObject (const GLuint programObject) |
const String & | getEntryPoint (void) const |
Gets the entry point defined for this program. More... | |
GLuint | getGLProgramHandle () const |
GLuint | getGLShaderHandle () const |
GL Shader Handle. More... | |
bool | getIsOptimised (void) |
Gets if the GLSL source has been optimised successfully. More... | |
const String & | getLanguage (void) const |
Overridden from GLSLESProgram. More... | |
String | getOptimisedSource (void) |
Gets he optimised GLSL source. More... | |
bool | getOptimiserEnabled (void) const |
Gets if the GLSL optimiser is enabled. More... | |
const StringVector & | getProfiles (void) const |
Gets the Cg profiles which can be supported by the program. More... | |
void | loadFromSource (void) |
Overridden from GLSLESProgram. More... | |
void | setEntryPoint (const String &entryPoint) |
Sets the entry point for this program ie the first method called. More... | |
void | setIsOptimised (bool flag) |
Sets if the GLSL source has been optimised successfully. More... | |
void | setOptimisedSource (const String &src) |
Sets the optimised GLSL source. More... | |
void | setOptimiserEnabled (bool enabled) |
Sets if the GLSL optimiser is enabled. More... | |
void | setProfiles (const StringVector &profiles) |
Sets the Cg profiles which can be supported by the program. More... | |
void | unbindProgram (void) |
Execute the unbinding functions for this program. More... | |
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 | ( | ) |
void Ogre::GLSLESCgProgram::loadFromSource | ( | void | ) |
Overridden from GLSLESProgram.
const String& Ogre::GLSLESCgProgram::getLanguage | ( | void | ) | const |
Overridden from GLSLESProgram.
|
inline |
Sets the entry point for this program ie the first method called.
|
inline |
Gets the entry point defined for this program.
void Ogre::GLSLESCgProgram::setProfiles | ( | const StringVector & | profiles | ) |
Sets the Cg profiles which can be supported by the program.
|
inline |
Gets the Cg profiles which can be supported by the program.
|
inlineinherited |
GL Shader Handle.
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inherited |
Sets if the GLSL optimiser is enabled.
|
inlineinherited |
Gets if the GLSL optimiser is enabled.
|
inlineinherited |
Sets if the GLSL source has been optimised successfully.
|
inlineinherited |
Gets if the GLSL source has been optimised successfully.
|
inlineinherited |
Sets the optimised GLSL source.
|
inlineinherited |
Gets he optimised GLSL source.
|
inherited |
Overridden from GpuProgram.
|
inherited |
compile source into shader object
|
inlineinherited |
Since GLSL has no assembly, use this shader for binding.
|
inherited |
Execute the binding functions for this program.
|
inherited |
Execute the unbinding functions for this program.
|
inherited |
Execute the param binding functions for this program.
|
inherited |
Execute the shared param binding functions for this program.
|
inherited |
Execute the pass iteration param binding functions for this program.
|
inherited |