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

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

#include <OgreGLNullUniformCacheImp.h>

+ Inheritance diagram for Ogre::GLUniformCacheImp:
+ Collaboration diagram for Ogre::GLUniformCacheImp:

Public Member Functions

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

See also
GLUniformCache

Definition at line 41 of file OgreGLNullUniformCacheImp.h.

Member Typedef Documentation

Definition at line 44 of file OgreGLUniformCacheImp.h.

Constructor & Destructor Documentation

Ogre::GLUniformCacheImp::GLUniformCacheImp ( void  )
Ogre::GLUniformCacheImp::~GLUniformCacheImp ( void  )
Ogre::GLUniformCacheImp::GLUniformCacheImp ( void  )
Ogre::GLUniformCacheImp::~GLUniformCacheImp ( void  )

Member Function Documentation

void Ogre::GLUniformCacheImp::clearCache ( )

Clear out the cache.

void Ogre::GLUniformCacheImp::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::GLUniformCacheImp::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::GLUniformCacheImp::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::GLUniformCacheImp::mUniformValueMap
private

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

Definition at line 47 of file OgreGLUniformCacheImp.h.


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