Public Member Functions | Protected Member Functions
Ogre::GLSLESLinkProgram Class Reference

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

#include <OgreGLSLESLinkProgram.h>

List of all members.

Public Member Functions

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

Protected Member Functions

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

Detailed Description

C++ encapsulation of GLSL ES Program Object.

Definition at line 45 of file OgreGLSLESLinkProgram.h.


Constructor & Destructor Documentation

Constructor should only be used by GLSLESLinkProgramManager.

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

Member Function Documentation

virtual void Ogre::GLSLESLinkProgram::_useProgram ( void  ) [protected, virtual]

Put a program in use.

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

virtual void Ogre::GLSLESLinkProgram::compileAndLink ( void  ) [protected, virtual]

Compiles and links the vertex and fragment programs.

virtual void Ogre::GLSLESLinkProgram::extractLayoutQualifiers ( void  ) [protected, virtual]

Definition at line 48 of file OgreGLSLESLinkProgram.h.

virtual void Ogre::GLSLESLinkProgram::notifyOnContextLost ( ) [protected, virtual]
virtual void Ogre::GLSLESLinkProgram::notifyOnContextReset ( ) [protected, 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:

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:12