Go to the documentation of this file.
29 #ifndef __GLES2NullStateCacheManagerImp_H__
30 #define __GLES2NullStateCacheManagerImp_H__
78 void bindGLBuffer(GLenum target, GLuint buffer,
bool force =
false);
81 void deleteGLBuffer(GLenum target, GLuint buffer,
bool force =
false);
129 void setClearColour(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
135 void setColourMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
void setTexParameterf(GLenum target, GLenum pname, GLfloat params)
See GLES2StateCacheManager.setTexParameterf.
vector< GLclampf >::type mClearColour
Stores the current clear colour.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
void setStencilMask(GLuint mask)
See GLES2StateCacheManager.setStencilMask.
GLclampf getClearDepth(void) const
See GLES2StateCacheManager.getClearDepth.
void setPolygonMode(GLenum mode)
See GLES2StateCacheManager.setPolygonMode.
GLclampf mClearDepth
Stores the current depth clearing colour.
GLenum getDepthFunc(void) const
See GLES2StateCacheManager.getDepthFunc.
void setTexParameteri(GLenum target, GLenum pname, GLint param)
See GLES2StateCacheManager.setTexParameteri.
GLenum getCullFace(void) const
See GLES2StateCacheManager.getCullFace.
unsigned int mDiscardBuffers
Mask of buffers who contents can be discarded if GL_EXT_discard_framebuffer is supported.
void bindGLTexture(GLenum target, GLuint texture)
See GLES2StateCacheManager.bindGLTexture.
void clearCache()
See GLES2StateCacheManager.clearCache.
GLenum getBlendEquation(void) const
See GLES2StateCacheManager.getBlendEquation.
GLboolean getDepthMask(void) const
See GLES2StateCacheManager.getDepthMask.
void setClearColour(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
See GLES2StateCacheManager.setClearColour.
void getTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
See GLES2StateCacheManager.getTexParameterfv.
void setCullFace(GLenum face)
See GLES2StateCacheManager.setCullFace.
GLenum mDepthFunc
Stores the current depth test function.
GLenum getPolygonMode(void) const
See GLES2StateCacheManager.getPolygonMode.
An in memory cache of the OpenGL ES state.
GLenum mPolygonMode
Stores the current polygon rendering mode.
~GLES2StateCacheManagerImp(void)
void initializeCache()
See GLES2StateCacheManager.initializeCache.
void setDepthMask(GLboolean mask)
See GLES2StateCacheManager.setDepthMask.
void setVertexAttribDisabled(GLuint attrib)
See GLES2StateCacheManager.setVertexAttribDisabled.
void bindGLBuffer(GLenum target, GLuint buffer, bool force=false)
See GLES2StateCacheManager.bindGLBuffer.
void deleteGLBuffer(GLenum target, GLuint buffer, bool force=false)
See GLES2StateCacheManager.deleteGLBuffer.
GLES2StateCacheManagerImp(void)
void setDepthFunc(GLenum func)
See GLES2StateCacheManager.setDepthFunc.
GLuint mStencilMask
Stores the current stencil mask.
unsigned char mActiveTextureUnit
Stores the currently active texture unit.
void setDisabled(GLenum flag)
See GLES2StateCacheManager.setDisabled.
void setColourMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
See GLES2StateCacheManager.setColourMask.
void setDiscardBuffers(unsigned int flags)
See GLES2StateCacheManager.setDiscardBuffers.
void setVertexAttribEnabled(GLuint attrib)
See GLES2StateCacheManager.setVertexAttribEnabled.
Ogre::GeneralAllocatedObject StateCacheAlloc
void invalidateStateForTexture(GLuint texture)
See GLES2StateCacheManager.invalidateStateForTexture.
GLuint getStencilMask(void) const
See GLES2StateCacheManager.getStencilMask.
GLboolean mDepthMask
Stores the current depth write mask.
vector< GLboolean >::type mColourMask
Stores the current colour write mask.
void setEnabled(GLenum flag)
See GLES2StateCacheManager.setEnabled.
void setBlendEquation(GLenum eq)
See GLES2StateCacheManager.setBlendEquation.
GLenum mBlendEquation
Stores the current blend equation.
void setBlendFunc(GLenum source, GLenum dest)
See GLES2StateCacheManager.setBlendFunc.
GLenum mCullFace
Stores the current face culling setting.
bool activateGLTextureUnit(unsigned char unit)
See GLES2StateCacheManager.activateGLTextureUnit.
void setClearDepth(GLclampf depth)
See GLES2StateCacheManager.setClearDepth.
vector< GLboolean >::type & getColourMask(void)
See GLES2StateCacheManager.getColourMask.
unsigned int getDiscardBuffers(void) const
See GLES2StateCacheManager.getDiscardBuffers.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15