OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::GLSLESCgProgram Class Reference

Specialisation of HighLevelGpuProgram to provide support for CG. More...

#include <OgreGLSLESCgProgram.h>

+ Inheritance diagram for Ogre::GLSLESCgProgram:

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 StringgetEntryPoint (void) const
 Gets the entry point defined for this program.
 
const StringgetLanguage (void) const
 Overridden from GLSLESProgram.
 
const StringVectorgetProfiles (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.
 

Detailed Description

Specialisation of HighLevelGpuProgram to provide support for CG.

Remarks
Cg programs will be converted to GLSL

Constructor & Destructor Documentation

◆ GLSLESCgProgram()

Ogre::GLSLESCgProgram::GLSLESCgProgram ( ResourceManager creator,
const String name,
ResourceHandle  handle,
const String group,
bool  isManual,
ManualResourceLoader loader 
)

◆ ~GLSLESCgProgram()

Ogre::GLSLESCgProgram::~GLSLESCgProgram ( )

Member Function Documentation

◆ getEntryPoint()

const String & Ogre::GLSLESCgProgram::getEntryPoint ( void  ) const
inline

Gets the entry point defined for this program.

◆ getLanguage()

const String & Ogre::GLSLESCgProgram::getLanguage ( void  ) const

Overridden from GLSLESProgram.

◆ getProfiles()

const StringVector & Ogre::GLSLESCgProgram::getProfiles ( void  ) const
inline

Gets the Cg profiles which can be supported by the program.

◆ loadFromSource()

void Ogre::GLSLESCgProgram::loadFromSource ( void  )

Overridden from GLSLESProgram.

◆ setEntryPoint()

void Ogre::GLSLESCgProgram::setEntryPoint ( const String entryPoint)
inline

Sets the entry point for this program ie the first method called.

◆ setProfiles()

void Ogre::GLSLESCgProgram::setProfiles ( const StringVector profiles)

Sets the Cg profiles which can be supported by the program.


The documentation for this class was generated from the following file: