OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::GLSLESLinkProgram Class Reference

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

#include <OgreGLSLESLinkProgram.h>

+ Inheritance diagram for Ogre::GLSLESLinkProgram:
+ Collaboration diagram for Ogre::GLSLESLinkProgram:

Public Member Functions

 GLSLESLinkProgram (GLSLESGpuProgram *vertexProgram, GLSLESGpuProgram *fragmentProgram)
 Constructor should only be used by GLSLESLinkProgramManager. More...
 
virtual ~GLSLESLinkProgram (void)
 
void activate (void)
 Makes a program object active by making sure it is linked and then putting it in use. More...
 
virtual void updatePassIterationUniforms (GpuProgramParametersSharedPtr params)
 Updates program object uniforms using data from pass iteration GpuProgramParameters. More...
 
virtual void updateUniformBlocks (GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
 Updates program object uniform blocks using data from GpuProgramParameters. More...
 
virtual void updateUniforms (GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
 Updates program object uniforms using data from GpuProgramParameters. More...
 

Protected Member Functions

virtual void _useProgram (void)
 Put a program in use. More...
 
void buildGLUniformReferences (void)
 
virtual void compileAndLink (void)
 Compiles and links the vertex and fragment programs. More...
 
virtual void extractLayoutQualifiers (void)
 
virtual void notifyOnContextLost ()
 See AndroidResource. More...
 
virtual void notifyOnContextReset ()
 See AndroidResource. More...
 

Detailed Description

C++ encapsulation of GLSL ES Program Object.

Definition at line 45 of file OgreGLSLESLinkProgram.h.

Constructor & Destructor Documentation

Ogre::GLSLESLinkProgram::GLSLESLinkProgram ( GLSLESGpuProgram vertexProgram,
GLSLESGpuProgram fragmentProgram 
)

Constructor should only be used by GLSLESLinkProgramManager.

virtual Ogre::GLSLESLinkProgram::~GLSLESLinkProgram ( void  )
virtual

Member Function Documentation

virtual void Ogre::GLSLESLinkProgram::_useProgram ( void  )
protectedvirtual

Put a program in use.

void Ogre::GLSLESLinkProgram::activate ( void  )

Makes a program object active by making sure it is linked and then putting it in use.

void Ogre::GLSLESLinkProgram::buildGLUniformReferences ( void  )
protected
virtual void Ogre::GLSLESLinkProgram::compileAndLink ( void  )
protectedvirtual

Compiles and links the vertex and fragment programs.

virtual void Ogre::GLSLESLinkProgram::extractLayoutQualifiers ( void  )
inlineprotectedvirtual

Definition at line 48 of file OgreGLSLESLinkProgram.h.

virtual void Ogre::GLSLESLinkProgram::notifyOnContextLost ( )
protectedvirtual
virtual void Ogre::GLSLESLinkProgram::notifyOnContextReset ( )
protectedvirtual
virtual void Ogre::GLSLESLinkProgram::updatePassIterationUniforms ( GpuProgramParametersSharedPtr  params)
virtual

Updates program object uniforms using data from pass iteration GpuProgramParameters.

normally called by GLSLESGpuProgram::bindMultiPassParameters() just before multi pass rendering occurs.

virtual void Ogre::GLSLESLinkProgram::updateUniformBlocks ( GpuProgramParametersSharedPtr  params,
uint16  mask,
GpuProgramType  fromProgType 
)
virtual

Updates program object uniform blocks using data from GpuProgramParameters.

normally called by GLSLGpuProgram::bindParameters() just before rendering occurs.

virtual void Ogre::GLSLESLinkProgram::updateUniforms ( GpuProgramParametersSharedPtr  params,
uint16  mask,
GpuProgramType  fromProgType 
)
virtual

Updates program object uniforms using data from GpuProgramParameters.

normally called by GLSLESGpuProgram::bindParameters() just before rendering occurs.


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