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

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

#include <OgreGLUniformCache.h>

+ Inheritance diagram for Ogre::GLUniformCache:

Public Member Functions

 GLUniformCache (void)
 
 ~GLUniformCache (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 uniforms.

Constructor & Destructor Documentation

◆ GLUniformCache()

Ogre::GLUniformCache::GLUniformCache ( void  )

◆ ~GLUniformCache()

Ogre::GLUniformCache::~GLUniformCache ( void  )

Member Function Documentation

◆ clearCache()

void Ogre::GLUniformCache::clearCache ( )

Clears all cached values.

◆ updateUniform()

bool Ogre::GLUniformCache::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: