OGRE  1.10.5
Object-Oriented Graphics Rendering Engine
Ogre::GLES2UniformCache Class Reference

An in memory cache of the OpenGL ES 2 uniforms. More...

#include <OgreGLES2UniformCache.h>

+ Inheritance diagram for Ogre::GLES2UniformCache:

Public Member Functions

 GLES2UniformCache (void)
 
 ~GLES2UniformCache (void)
 
void clearCache ()
 Clears all cached values. More...
 
bool updateUniform (GLint location, const void *value, GLsizei length)
 Update a uniform. More...
 

Detailed Description

An in memory cache of the OpenGL ES 2 uniforms.

Constructor & Destructor Documentation

◆ GLES2UniformCache()

Ogre::GLES2UniformCache::GLES2UniformCache ( void  )

◆ ~GLES2UniformCache()

Ogre::GLES2UniformCache::~GLES2UniformCache ( void  )

Member Function Documentation

◆ clearCache()

void Ogre::GLES2UniformCache::clearCache ( )

Clears all cached values.

◆ updateUniform()

bool Ogre::GLES2UniformCache::updateUniform ( GLint  location,
const void *  value,
GLsizei  length 
)

Update a uniform.

Returns
A boolean value indicating whether this uniform needs to be updated in the GL.

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