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

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

#include <OgreGLES2NullUniformCacheImp.h>

+ Inheritance diagram for Ogre::GLES2UniformCacheImp:
+ Collaboration diagram for Ogre::GLES2UniformCacheImp:

Public Member Functions

 GLES2UniformCacheImp (void)
 
 GLES2UniformCacheImp (void)
 
 ~GLES2UniformCacheImp (void)
 
 ~GLES2UniformCacheImp (void)
 
void clearCache ()
 Clear out the cache. More...
 
void clearCache ()
 Clear out the cache. More...
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info More...
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, void *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 
void * operator new[] (size_t sz)
 
bool updateUniform (GLint location, const void *value, GLsizei length)
 Update a uniform. More...
 
bool updateUniform (GLint location, const void *value, GLsizei length)
 Update a uniform. More...
 

Private Types

typedef HashMap< GLint, uint32UniformMap
 

Private Attributes

UniformMap mUniformValueMap
 A map of uniform names and a hash of their values. More...
 

Detailed Description

An in memory cache of the OpenGL ES 2 uniforms.

An in memory cache of the OpenGL ES2 uniforms.

See also
GLES2UniformCache

Definition at line 41 of file OgreGLES2NullUniformCacheImp.h.

Member Typedef Documentation

Definition at line 44 of file OgreGLES2UniformCacheImp.h.

Constructor & Destructor Documentation

Ogre::GLES2UniformCacheImp::GLES2UniformCacheImp ( void  )
Ogre::GLES2UniformCacheImp::~GLES2UniformCacheImp ( void  )
Ogre::GLES2UniformCacheImp::GLES2UniformCacheImp ( void  )
Ogre::GLES2UniformCacheImp::~GLES2UniformCacheImp ( void  )

Member Function Documentation

void Ogre::GLES2UniformCacheImp::clearCache ( )

Clear out the cache.

void Ogre::GLES2UniformCacheImp::clearCache ( )

Clear out the cache.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
)
inlineinherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

bool Ogre::GLES2UniformCacheImp::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.
bool Ogre::GLES2UniformCacheImp::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.

Member Data Documentation

UniformMap Ogre::GLES2UniformCacheImp::mUniformValueMap
private

A map of uniform names and a hash of their values.

Definition at line 47 of file OgreGLES2UniformCacheImp.h.


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