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