OGRE  1.10.5
Object-Oriented Graphics Rendering Engine
Ogre::GLSLESProgramCommon Class Referenceabstract

C++ encapsulation of GLSL ES Program Object. More...

#include <OgreGLSLESProgramCommon.h>

+ Inheritance diagram for Ogre::GLSLESProgramCommon:

Public Member Functions

 GLSLESProgramCommon (GLSLESProgram *vertexProgram, GLSLESProgram *fragmentProgram)
 Constructor should only be used by GLSLESLinkProgramManager and GLSLESProgramPipelineManager. More...
 
virtual ~GLSLESProgramCommon (void)
 
virtual GLint getAttributeIndex (VertexElementSemantic semantic, uint index)
 Get the index of a non-standard attribute bound in the linked code. More...
 
GLSLESProgramgetFragmentProgram (void) const
 
GLES2UniformCachegetUniformCache (void)
 
GLSLESProgramgetVertexProgram (void) const
 

Detailed Description

C++ encapsulation of GLSL ES Program Object.

Constructor & Destructor Documentation

◆ GLSLESProgramCommon()

Ogre::GLSLESProgramCommon::GLSLESProgramCommon ( GLSLESProgram vertexProgram,
GLSLESProgram fragmentProgram 
)

Constructor should only be used by GLSLESLinkProgramManager and GLSLESProgramPipelineManager.

◆ ~GLSLESProgramCommon()

virtual Ogre::GLSLESProgramCommon::~GLSLESProgramCommon ( void  )
virtual

Member Function Documentation

◆ getAttributeIndex()

virtual GLint Ogre::GLSLESProgramCommon::getAttributeIndex ( VertexElementSemantic  semantic,
uint  index 
)
virtual

Get the index of a non-standard attribute bound in the linked code.

Reimplemented in Ogre::GLSLESProgramPipeline.

◆ getVertexProgram()

GLSLESProgram* Ogre::GLSLESProgramCommon::getVertexProgram ( void  ) const
inline

◆ getFragmentProgram()

GLSLESProgram* Ogre::GLSLESProgramCommon::getFragmentProgram ( void  ) const
inline

◆ getUniformCache()

GLES2UniformCache* Ogre::GLSLESProgramCommon::getUniformCache ( void  )
inline

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