Go to the documentation of this file.
29 #ifndef __GLNullStateCacheManagerImp_H__
30 #define __GLNullStateCacheManagerImp_H__
100 void bindGLBuffer(GLenum target, GLuint buffer,
bool force =
false);
103 void deleteGLBuffer(GLenum target, GLuint buffer,
bool force =
false);
154 void setClearColour(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
160 void setColourMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
207 void setViewport(GLint x, GLint y, GLsizei width, GLsizei height);
void setColourMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
See GLStateCacheManager.setColourMask.
void setMaterialShininess(GLfloat shininess)
Ogre::GeneralAllocatedObject StateCacheAlloc
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
void setViewport(GLint x, GLint y, GLsizei width, GLsizei height)
Set viewport parameters.
void invalidateStateForTexture(GLuint texture)
See GLStateCacheManager.invalidateStateForTexture.
int mViewport[4]
Viewport origin and size.
GLclampf mClearDepth
Stores the current depth clearing colour.
GLenum getBlendEquation(void) const
See GLStateCacheManager.getBlendEquation.
void setClearDepth(GLclampf depth)
See GLStateCacheManager.setClearDepth.
GLStateCacheManagerImp(void)
void initializeCache()
See GLStateCacheManager.initializeCache.
GLclampf getClearDepth(void) const
See GLStateCacheManager.getClearDepth.
GLenum mBlendFuncSource
Stores the current blend source function.
void deleteGLBuffer(GLenum target, GLuint buffer, bool force=false)
See GLStateCacheManager.deleteGLBuffer.
void setCullFace(GLenum face)
See GLStateCacheManager.setCullFace.
bool activateGLTextureUnit(size_t unit)
See GLStateCacheManager.activateGLTextureUnit.
void getViewport(int *array)
Get viewport parameters.
void setDepthMask(GLboolean mask)
See GLStateCacheManager.setDepthMask.
GLenum getPolygonMode(void) const
See GLStateCacheManager.getPolygonMode.
void setShadeModel(GLenum model)
See GLStateCacheManager.setShadeModel.
GLenum mCullFace
Stores the current face culling setting.
void setPolygonMode(GLenum mode)
See GLStateCacheManager.setPolygonMode.
GLenum mBlendFuncDest
Stores the current blend destination function.
GLenum mBlendEquation
Stores the current blend equation.
void bindGLBuffer(GLenum target, GLuint buffer, bool force=false)
See GLStateCacheManager.bindGLBuffer.
~GLStateCacheManagerImp(void)
void setDepthFunc(GLenum func)
See GLStateCacheManager.setDepthFunc.
void clearCache()
See GLStateCacheManager.clearCache.
GLenum getDepthFunc(void) const
See GLStateCacheManager.getDepthFunc.
GLuint mStencilMask
Stores the current stencil mask.
GLenum mBlendEquationAlpha
void setPointParameters(GLfloat *attenuation, float minSize, float maxSize)
GLboolean mDepthMask
Stores the current depth write mask.
void disableTextureCoordGen(GLenum type)
Disable the specified texture coordinate generation option for the currently active texture unit.
An in memory cache of the OpenGL state.
void setTexParameteri(GLenum target, GLenum pname, GLint param)
See GLStateCacheManager.setTexParameteri.
GLenum getCullFace(void) const
See GLStateCacheManager.getCullFace.
void enableTextureCoordGen(GLenum type)
Enable the specified texture coordinate generation option for the currently active texture unit.
void setLightAmbient(GLfloat r, GLfloat g, GLfloat b)
See GLStateCacheManager.setLightAmbient.
GLboolean getDepthMask(void) const
See GLStateCacheManager.getDepthMask.
void setMaterialEmissive(GLfloat r, GLfloat g, GLfloat b, GLfloat a)
void setBlendEquation(GLenum eq)
See GLStateCacheManager.setBlendEquation.
void setBlendFunc(GLenum source, GLenum dest)
See GLStateCacheManager.setBlendFunc.
vector< GLclampf >::type mClearColour
Stores the current clear colour.
unsigned int mDiscardBuffers
Mask of buffers who contents can be discarded if GL_EXT_discard_framebuffer is supported.
void setDiscardBuffers(unsigned int flags)
See GLStateCacheManager.setDiscardBuffers.
vector< GLboolean >::type mColourMask
Stores the current colour write mask.
GLuint getStencilMask(void) const
See GLStateCacheManager.getStencilMask.
void bindGLTexture(GLenum target, GLuint texture)
See GLStateCacheManager.bindGLTexture.
void setStencilMask(GLuint mask)
See GLStateCacheManager.setStencilMask.
GLfloat mPointAttenuation[3]
void setDisabled(GLenum flag)
See GLStateCacheManager.setDisabled.
void setPointSize(GLfloat size)
vector< GLboolean >::type & getColourMask(void)
See GLStateCacheManager.getColourMask.
void setMaterialSpecular(GLfloat r, GLfloat g, GLfloat b, GLfloat a)
unsigned int getDiscardBuffers(void) const
See GLStateCacheManager.getDiscardBuffers.
void setEnabled(GLenum flag)
See GLStateCacheManager.setEnabled.
void setMaterialDiffuse(GLfloat r, GLfloat g, GLfloat b, GLfloat a)
void setMaterialAmbient(GLfloat r, GLfloat g, GLfloat b, GLfloat a)
void setClearColour(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
See GLStateCacheManager.setClearColour.
GLenum mDepthFunc
Stores the current depth test function.
GLenum mPolygonMode
Stores the current polygon rendering mode.
size_t mActiveTextureUnit
Stores the currently active texture unit.
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