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