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