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