Public Member Functions | Private Types | Private Attributes | List of all members
Ogre::GLUniformCacheImp Class Reference

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

#include <OgreGLNullUniformCacheImp.h>

Inheritance diagram for Ogre::GLUniformCacheImp:
Inheritance graph
[legend]

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, const char *, int, const char *)
 
void operator delete (void *ptr, void *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz)
 
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 *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 
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

◆ UniformMap

Definition at line 44 of file OgreGLUniformCacheImp.h.

Constructor & Destructor Documentation

◆ GLUniformCacheImp() [1/2]

Ogre::GLUniformCacheImp::GLUniformCacheImp ( void  )

◆ ~GLUniformCacheImp() [1/2]

Ogre::GLUniformCacheImp::~GLUniformCacheImp ( void  )

◆ GLUniformCacheImp() [2/2]

Ogre::GLUniformCacheImp::GLUniformCacheImp ( void  )

◆ ~GLUniformCacheImp() [2/2]

Ogre::GLUniformCacheImp::~GLUniformCacheImp ( void  )

Member Function Documentation

◆ clearCache() [1/2]

void Ogre::GLUniformCacheImp::clearCache ( )

Clear out the cache.

◆ clearCache() [2/2]

void Ogre::GLUniformCacheImp::clearCache ( )

Clear out the cache.

◆ operator delete() [1/3]

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

Definition at line 96 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [2/3]

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

Definition at line 108 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [3/3]

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

Definition at line 102 of file OgreMemoryAllocatedObject.h.

◆ operator delete[]() [1/2]

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

Definition at line 113 of file OgreMemoryAllocatedObject.h.

◆ operator delete[]() [2/2]

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

Definition at line 119 of file OgreMemoryAllocatedObject.h.

◆ operator new() [1/3]

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

Definition at line 73 of file OgreMemoryAllocatedObject.h.

◆ operator new() [2/3]

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

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

◆ operator new() [3/3]

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

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

◆ operator new[]() [1/2]

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

Definition at line 91 of file OgreMemoryAllocatedObject.h.

◆ operator new[]() [2/2]

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

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

◆ updateUniform() [1/2]

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.

◆ updateUniform() [2/2]

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

◆ mUniformValueMap

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:

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15