![]() |
OGRE
1.10.5
Object-Oriented Graphics Rendering Engine
|
An in memory cache of the OpenGL uniforms. More...
#include <OgreGLUniformCache.h>
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... | |
An in memory cache of the OpenGL uniforms.
Ogre::GLUniformCache::GLUniformCache | ( | void | ) |
Ogre::GLUniformCache::~GLUniformCache | ( | void | ) |
void Ogre::GLUniformCache::clearCache | ( | ) |
Clears all cached values.
bool Ogre::GLUniformCache::updateUniform | ( | GLint | location, |
const void * | value, | ||
GLsizei | length | ||
) |
Update a uniform.