An in memory cache of the OpenGL state. More...
#include <OgreGLNullStateCacheManagerImp.h>

Classes | |
| struct | TexGenParams |
| struct | TextureUnitParams |
Public Member Functions | |
| GLStateCacheManagerImp (void) | |
| GLStateCacheManagerImp (void) | |
| ~GLStateCacheManagerImp (void) | |
| ~GLStateCacheManagerImp (void) | |
| bool | activateGLTextureUnit (size_t unit) |
| See GLStateCacheManager.activateGLTextureUnit. | |
| bool | activateGLTextureUnit (size_t unit) |
| See GLStateCacheManager.activateGLTextureUnit. | |
| void | bindGLBuffer (GLenum target, GLuint buffer, bool force=false) |
| See GLStateCacheManager.bindGLBuffer. | |
| void | bindGLBuffer (GLenum target, GLuint buffer, GLenum attach=0, bool force=false) |
| See GLStateCacheManager.bindGLBuffer. | |
| void | bindGLTexture (GLenum target, GLuint texture) |
| See GLStateCacheManager.bindGLTexture. | |
| void | bindGLTexture (GLenum target, GLuint texture) |
| See GLStateCacheManager.bindGLTexture. | |
| void | clearCache () |
| See GLStateCacheManager.clearCache. | |
| void | clearCache () |
| See GLStateCacheManager.clearCache. | |
| void | deleteGLBuffer (GLenum target, GLuint buffer, bool force=false) |
| See GLStateCacheManager.deleteGLBuffer. | |
| void | deleteGLBuffer (GLenum target, GLuint buffer, GLenum attach=0, bool force=false) |
| See GLStateCacheManager.deleteGLBuffer. | |
| void | disableTextureCoordGen (GLenum type) |
| Disable the specified texture coordinate generation option for the currently active texture unit. | |
| void | disableTextureCoordGen (GLenum type) |
| Disable the specified texture coordinate generation option for the currently active texture unit. | |
| void | enableTextureCoordGen (GLenum type) |
| Enable the specified texture coordinate generation option for the currently active texture unit. | |
| void | enableTextureCoordGen (GLenum type) |
| Enable the specified texture coordinate generation option for the currently active texture unit. | |
| GLenum | getBlendEquation (void) const |
| See GLStateCacheManager.getBlendEquation. | |
| GLenum | getBlendEquation (void) const |
| See GLStateCacheManager.getBlendEquation. | |
| GLclampf | getClearDepth (void) const |
| See GLStateCacheManager.getClearDepth. | |
| GLclampf | getClearDepth (void) const |
| See GLStateCacheManager.getClearDepth. | |
| vector< GLboolean >::type & | getColourMask (void) |
| See GLStateCacheManager.getColourMask. | |
| vector< GLboolean >::type & | getColourMask (void) |
| See GLStateCacheManager.getColourMask. | |
| GLenum | getCullFace (void) const |
| See GLStateCacheManager.getCullFace. | |
| GLenum | getCullFace (void) const |
| See GLStateCacheManager.getCullFace. | |
| GLenum | getDepthFunc (void) const |
| See GLStateCacheManager.getDepthFunc. | |
| GLenum | getDepthFunc (void) const |
| See GLStateCacheManager.getDepthFunc. | |
| GLboolean | getDepthMask (void) const |
| See GLStateCacheManager.getDepthMask. | |
| GLboolean | getDepthMask (void) const |
| See GLStateCacheManager.getDepthMask. | |
| unsigned int | getDiscardBuffers (void) const |
| See GLStateCacheManager.getDiscardBuffers. | |
| unsigned int | getDiscardBuffers (void) const |
| See GLStateCacheManager.getDiscardBuffers. | |
| GLenum | getPolygonMode (void) const |
| See GLStateCacheManager.getPolygonMode. | |
| GLenum | getPolygonMode (void) const |
| See GLStateCacheManager.getPolygonMode. | |
| GLuint | getStencilMask (void) const |
| See GLStateCacheManager.getStencilMask. | |
| GLuint | getStencilMask (void) const |
| See GLStateCacheManager.getStencilMask. | |
| void | getViewport (int *array) |
| Get viewport parameters. | |
| void | getViewport (int *array) |
| Get viewport parameters. | |
| void | initializeCache () |
| See GLStateCacheManager.initializeCache. | |
| void | initializeCache () |
| See GLStateCacheManager.initializeCache. | |
| void | invalidateStateForTexture (GLuint texture) |
| See GLStateCacheManager.invalidateStateForTexture. | |
| void | invalidateStateForTexture (GLuint texture) |
| See GLStateCacheManager.invalidateStateForTexture. | |
| void | operator delete (void *ptr) |
| void | operator delete (void *ptr, void *) |
| void | operator delete (void *ptr, const char *, int, const char *) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, const char *, int, const char *) |
| void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info | |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new | |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info | |
| void * | operator new[] (size_t sz) |
| void | setBlendEquation (GLenum eq) |
| See GLStateCacheManager.setBlendEquation. | |
| void | setBlendEquation (GLenum eqRGB, GLenum eqA) |
| Set the blend equation for RGB and alpha separately. | |
| void | setBlendEquation (GLenum eq) |
| See GLStateCacheManager.setBlendEquation. | |
| void | setBlendEquation (GLenum eqRGB, GLenum eqA) |
| Set the blend equation for RGB and alpha separately. | |
| void | setBlendFunc (GLenum source, GLenum dest) |
| See GLStateCacheManager.setBlendFunc. | |
| void | setBlendFunc (GLenum source, GLenum dest) |
| See GLStateCacheManager.setBlendFunc. | |
| void | setClearColour (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
| See GLStateCacheManager.setClearColour. | |
| void | setClearColour (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
| See GLStateCacheManager.setClearColour. | |
| void | setClearDepth (GLclampf depth) |
| See GLStateCacheManager.setClearDepth. | |
| void | setClearDepth (GLclampf depth) |
| See GLStateCacheManager.setClearDepth. | |
| void | setColourMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
| See GLStateCacheManager.setColourMask. | |
| void | setColourMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
| See GLStateCacheManager.setColourMask. | |
| void | setCullFace (GLenum face) |
| See GLStateCacheManager.setCullFace. | |
| void | setCullFace (GLenum face) |
| See GLStateCacheManager.setCullFace. | |
| void | setDepthFunc (GLenum func) |
| See GLStateCacheManager.setDepthFunc. | |
| void | setDepthFunc (GLenum func) |
| See GLStateCacheManager.setDepthFunc. | |
| void | setDepthMask (GLboolean mask) |
| See GLStateCacheManager.setDepthMask. | |
| void | setDepthMask (GLboolean mask) |
| See GLStateCacheManager.setDepthMask. | |
| void | setDisabled (GLenum flag) |
| See GLStateCacheManager.setDisabled. | |
| void | setDisabled (GLenum flag) |
| See GLStateCacheManager.setDisabled. | |
| void | setDiscardBuffers (unsigned int flags) |
| See GLStateCacheManager.setDiscardBuffers. | |
| void | setDiscardBuffers (unsigned int flags) |
| See GLStateCacheManager.setDiscardBuffers. | |
| void | setEnabled (GLenum flag) |
| See GLStateCacheManager.setEnabled. | |
| void | setEnabled (GLenum flag) |
| See GLStateCacheManager.setEnabled. | |
| void | setLightAmbient (GLfloat r, GLfloat g, GLfloat b) |
| See GLStateCacheManager.setLightAmbient. | |
| void | setLightAmbient (GLfloat r, GLfloat g, GLfloat b) |
| See GLStateCacheManager.setLightAmbient. | |
| void | setMaterialAmbient (GLfloat r, GLfloat g, GLfloat b, GLfloat a) |
| void | setMaterialAmbient (GLfloat r, GLfloat g, GLfloat b, GLfloat a) |
| void | setMaterialDiffuse (GLfloat r, GLfloat g, GLfloat b, GLfloat a) |
| void | setMaterialDiffuse (GLfloat r, GLfloat g, GLfloat b, GLfloat a) |
| void | setMaterialEmissive (GLfloat r, GLfloat g, GLfloat b, GLfloat a) |
| void | setMaterialEmissive (GLfloat r, GLfloat g, GLfloat b, GLfloat a) |
| void | setMaterialShininess (GLfloat shininess) |
| void | setMaterialShininess (GLfloat shininess) |
| void | setMaterialSpecular (GLfloat r, GLfloat g, GLfloat b, GLfloat a) |
| void | setMaterialSpecular (GLfloat r, GLfloat g, GLfloat b, GLfloat a) |
| void | setPointParameters (GLfloat *attenuation, float minSize, float maxSize) |
| void | setPointParameters (GLfloat *attenuation, float minSize, float maxSize) |
| void | setPointSize (GLfloat size) |
| void | setPointSize (GLfloat size) |
| void | setPolygonMode (GLenum mode) |
| See GLStateCacheManager.setPolygonMode. | |
| void | setPolygonMode (GLenum mode) |
| See GLStateCacheManager.setPolygonMode. | |
| void | setShadeModel (GLenum model) |
| See GLStateCacheManager.setShadeModel. | |
| void | setShadeModel (GLenum model) |
| See GLStateCacheManager.setShadeModel. | |
| void | setStencilMask (GLuint mask) |
| See GLStateCacheManager.setStencilMask. | |
| void | setStencilMask (GLuint mask) |
| See GLStateCacheManager.setStencilMask. | |
| void | setTexParameteri (GLenum target, GLenum pname, GLint param) |
| See GLStateCacheManager.setTexParameteri. | |
| void | setTexParameteri (GLenum target, GLenum pname, GLint param) |
| See GLStateCacheManager.setTexParameteri. | |
| void | setViewport (GLint x, GLint y, GLsizei width, GLsizei height) |
| Set viewport parameters. | |
| void | setViewport (GLint x, GLint y, GLsizei width, GLsizei height) |
| Set viewport parameters. | |
Private Types | |
| typedef HashMap< GLenum, GLuint > | BindBufferMap |
| typedef HashMap< GLenum, GLint > | TexParameteriMap |
| typedef HashMap< GLuint, TextureUnitParams > | TexUnitsMap |
Private Attributes | |
| BindBufferMap | mActiveBufferMap |
| A map of different buffer types and the currently bound buffer for each type. | |
| size_t | mActiveTextureUnit |
| Stores the currently active texture unit. | |
| GLfloat | mAmbient [4] |
| GLenum | mBlendEquation |
| Stores the current blend equation. | |
| GLenum | mBlendEquationAlpha |
| GLenum | mBlendEquationRGB |
| GLenum | mBlendFuncDest |
| Stores the current blend destination function. | |
| GLenum | mBlendFuncSource |
| Stores the current blend source function. | |
| HashMap< GLenum, GLuint > | mBoundTextures |
| Stores textures currently bound to each texture stage. | |
| vector< GLclampf >::type | mClearColour |
| Stores the current clear colour. | |
| GLclampf | mClearDepth |
| Stores the current depth clearing colour. | |
| vector< GLboolean >::type | mColourMask |
| Stores the current colour write mask. | |
| GLenum | mCullFace |
| Stores the current face culling setting. | |
| GLenum | mDepthFunc |
| Stores the current depth test function. | |
| GLboolean | mDepthMask |
| Stores the current depth write mask. | |
| GLfloat | mDiffuse [4] |
| unsigned int | mDiscardBuffers |
| Mask of buffers who contents can be discarded if GL_EXT_discard_framebuffer is supported. | |
| GLfloat | mEmissive [4] |
| vector< GLenum >::type | mEnableVector |
| Array of each OpenGL feature that is enabled i.e. blending, depth test, etc. | |
| GLuint | mLastBoundTexID |
| Stores the last bound texture id. | |
| GLfloat | mLightAmbient [4] |
| GLfloat | mPointAttenuation [3] |
| GLfloat | mPointSize |
| GLfloat | mPointSizeMax |
| GLfloat | mPointSizeMin |
| GLenum | mPolygonMode |
| Stores the current polygon rendering mode. | |
| GLenum | mShadeModel |
| GLfloat | mShininess |
| GLfloat | mSpecular [4] |
| GLuint | mStencilMask |
| Stores the current stencil mask. | |
| HashMap< GLenum, TexGenParams > | mTextureCoordGen |
| Stores the currently enabled texcoord generation types per texture unit. | |
| TexUnitsMap | mTexUnitsMap |
| A map of texture parameters for each texture unit. | |
| int | mViewport [4] |
| Viewport origin and size. | |
An in memory cache of the OpenGL state.
Definition at line 41 of file OgreGLNullStateCacheManagerImp.h.
typedef HashMap<GLenum, GLuint> Ogre::GLStateCacheManagerImp::BindBufferMap [private] |
Definition at line 44 of file OgreGLStateCacheManagerImp.h.
typedef HashMap<GLenum, GLint> Ogre::GLStateCacheManagerImp::TexParameteriMap [private] |
Definition at line 45 of file OgreGLStateCacheManagerImp.h.
typedef HashMap<GLuint, TextureUnitParams> Ogre::GLStateCacheManagerImp::TexUnitsMap [private] |
Definition at line 57 of file OgreGLStateCacheManagerImp.h.
| bool Ogre::GLStateCacheManagerImp::activateGLTextureUnit | ( | size_t | unit | ) |
| bool Ogre::GLStateCacheManagerImp::activateGLTextureUnit | ( | size_t | unit | ) |
| void Ogre::GLStateCacheManagerImp::bindGLBuffer | ( | GLenum | target, |
| GLuint | buffer, | ||
| bool | force = false |
||
| ) |
| void Ogre::GLStateCacheManagerImp::bindGLBuffer | ( | GLenum | target, |
| GLuint | buffer, | ||
| GLenum | attach = 0, |
||
| bool | force = false |
||
| ) |
| void Ogre::GLStateCacheManagerImp::bindGLTexture | ( | GLenum | target, |
| GLuint | texture | ||
| ) |
| void Ogre::GLStateCacheManagerImp::bindGLTexture | ( | GLenum | target, |
| GLuint | texture | ||
| ) |
| void Ogre::GLStateCacheManagerImp::deleteGLBuffer | ( | GLenum | target, |
| GLuint | buffer, | ||
| bool | force = false |
||
| ) |
| void Ogre::GLStateCacheManagerImp::deleteGLBuffer | ( | GLenum | target, |
| GLuint | buffer, | ||
| GLenum | attach = 0, |
||
| bool | force = false |
||
| ) |
| void Ogre::GLStateCacheManagerImp::disableTextureCoordGen | ( | GLenum | type | ) |
Disable the specified texture coordinate generation option for the currently active texture unit.
| void Ogre::GLStateCacheManagerImp::disableTextureCoordGen | ( | GLenum | type | ) |
Disable the specified texture coordinate generation option for the currently active texture unit.
| void Ogre::GLStateCacheManagerImp::enableTextureCoordGen | ( | GLenum | type | ) |
Enable the specified texture coordinate generation option for the currently active texture unit.
| void Ogre::GLStateCacheManagerImp::enableTextureCoordGen | ( | GLenum | type | ) |
Enable the specified texture coordinate generation option for the currently active texture unit.
| GLenum Ogre::GLStateCacheManagerImp::getBlendEquation | ( | void | ) | const |
See GLStateCacheManager.getBlendEquation.
Definition at line 118 of file OgreGLNullStateCacheManagerImp.h.
References mBlendEquation.
| GLenum Ogre::GLStateCacheManagerImp::getBlendEquation | ( | void | ) | const |
See GLStateCacheManager.getBlendEquation.
Definition at line 156 of file OgreGLStateCacheManagerImp.h.
| GLclampf Ogre::GLStateCacheManagerImp::getClearDepth | ( | void | ) | const |
See GLStateCacheManager.getClearDepth.
Definition at line 148 of file OgreGLNullStateCacheManagerImp.h.
References mClearDepth.
| GLclampf Ogre::GLStateCacheManagerImp::getClearDepth | ( | void | ) | const |
See GLStateCacheManager.getClearDepth.
Definition at line 186 of file OgreGLStateCacheManagerImp.h.
| vector<GLboolean>::type& Ogre::GLStateCacheManagerImp::getColourMask | ( | void | ) |
See GLStateCacheManager.getColourMask.
Definition at line 157 of file OgreGLNullStateCacheManagerImp.h.
References mColourMask.
| vector<GLboolean>::type& Ogre::GLStateCacheManagerImp::getColourMask | ( | void | ) |
See GLStateCacheManager.getColourMask.
Definition at line 195 of file OgreGLStateCacheManagerImp.h.
| GLenum Ogre::GLStateCacheManagerImp::getCullFace | ( | void | ) | const |
See GLStateCacheManager.getCullFace.
Definition at line 187 of file OgreGLNullStateCacheManagerImp.h.
References mCullFace.
| GLenum Ogre::GLStateCacheManagerImp::getCullFace | ( | void | ) | const |
See GLStateCacheManager.getCullFace.
Definition at line 225 of file OgreGLStateCacheManagerImp.h.
| GLenum Ogre::GLStateCacheManagerImp::getDepthFunc | ( | void | ) | const |
See GLStateCacheManager.getDepthFunc.
Definition at line 142 of file OgreGLNullStateCacheManagerImp.h.
References mDepthFunc.
| GLenum Ogre::GLStateCacheManagerImp::getDepthFunc | ( | void | ) | const |
See GLStateCacheManager.getDepthFunc.
Definition at line 180 of file OgreGLStateCacheManagerImp.h.
| GLboolean Ogre::GLStateCacheManagerImp::getDepthMask | ( | void | ) | const |
See GLStateCacheManager.getDepthMask.
Definition at line 136 of file OgreGLNullStateCacheManagerImp.h.
References mDepthMask.
| GLboolean Ogre::GLStateCacheManagerImp::getDepthMask | ( | void | ) | const |
See GLStateCacheManager.getDepthMask.
Definition at line 174 of file OgreGLStateCacheManagerImp.h.
| unsigned int Ogre::GLStateCacheManagerImp::getDiscardBuffers | ( | void | ) | const |
See GLStateCacheManager.getDiscardBuffers.
Definition at line 175 of file OgreGLNullStateCacheManagerImp.h.
References mDiscardBuffers.
| unsigned int Ogre::GLStateCacheManagerImp::getDiscardBuffers | ( | void | ) | const |
See GLStateCacheManager.getDiscardBuffers.
Definition at line 213 of file OgreGLStateCacheManagerImp.h.
| GLenum Ogre::GLStateCacheManagerImp::getPolygonMode | ( | void | ) | const |
See GLStateCacheManager.getPolygonMode.
Definition at line 181 of file OgreGLNullStateCacheManagerImp.h.
References mPolygonMode.
| GLenum Ogre::GLStateCacheManagerImp::getPolygonMode | ( | void | ) | const |
See GLStateCacheManager.getPolygonMode.
Definition at line 219 of file OgreGLStateCacheManagerImp.h.
| GLuint Ogre::GLStateCacheManagerImp::getStencilMask | ( | void | ) | const |
See GLStateCacheManager.getStencilMask.
Definition at line 163 of file OgreGLNullStateCacheManagerImp.h.
References mStencilMask.
| GLuint Ogre::GLStateCacheManagerImp::getStencilMask | ( | void | ) | const |
See GLStateCacheManager.getStencilMask.
Definition at line 201 of file OgreGLStateCacheManagerImp.h.
| void Ogre::GLStateCacheManagerImp::getViewport | ( | int * | array | ) |
Get viewport parameters.
| void Ogre::GLStateCacheManagerImp::getViewport | ( | int * | array | ) |
Get viewport parameters.
See GLStateCacheManager.initializeCache.
See GLStateCacheManager.initializeCache.
| void Ogre::GLStateCacheManagerImp::invalidateStateForTexture | ( | GLuint | texture | ) |
| void Ogre::GLStateCacheManagerImp::invalidateStateForTexture | ( | GLuint | texture | ) |
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, |
| void * | |||
| ) | [inherited] |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, |
| const char * | , | ||
| int | , | ||
| const char * | |||
| ) | [inherited] |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
| void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, |
| const char * | , | ||
| int | , | ||
| const char * | |||
| ) | [inherited] |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, |
| const char * | file, | ||
| int | line, | ||
| const char * | func | ||
| ) | [inherited] |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, |
| void * | ptr | ||
| ) | [inherited] |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, |
| const char * | file, | ||
| int | line, | ||
| const char * | func | ||
| ) | [inherited] |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
| void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
| void Ogre::GLStateCacheManagerImp::setBlendEquation | ( | GLenum | eq | ) |
| void Ogre::GLStateCacheManagerImp::setBlendEquation | ( | GLenum | eqRGB, |
| GLenum | eqA | ||
| ) |
Set the blend equation for RGB and alpha separately.
| void Ogre::GLStateCacheManagerImp::setBlendEquation | ( | GLenum | eq | ) |
| void Ogre::GLStateCacheManagerImp::setBlendEquation | ( | GLenum | eqRGB, |
| GLenum | eqA | ||
| ) |
Set the blend equation for RGB and alpha separately.
| void Ogre::GLStateCacheManagerImp::setBlendFunc | ( | GLenum | source, |
| GLenum | dest | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setBlendFunc | ( | GLenum | source, |
| GLenum | dest | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setClearColour | ( | GLclampf | red, |
| GLclampf | green, | ||
| GLclampf | blue, | ||
| GLclampf | alpha | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setClearColour | ( | GLclampf | red, |
| GLclampf | green, | ||
| GLclampf | blue, | ||
| GLclampf | alpha | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setClearDepth | ( | GLclampf | depth | ) |
| void Ogre::GLStateCacheManagerImp::setClearDepth | ( | GLclampf | depth | ) |
| void Ogre::GLStateCacheManagerImp::setColourMask | ( | GLboolean | red, |
| GLboolean | green, | ||
| GLboolean | blue, | ||
| GLboolean | alpha | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setColourMask | ( | GLboolean | red, |
| GLboolean | green, | ||
| GLboolean | blue, | ||
| GLboolean | alpha | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setCullFace | ( | GLenum | face | ) |
| void Ogre::GLStateCacheManagerImp::setCullFace | ( | GLenum | face | ) |
| void Ogre::GLStateCacheManagerImp::setDepthFunc | ( | GLenum | func | ) |
| void Ogre::GLStateCacheManagerImp::setDepthFunc | ( | GLenum | func | ) |
| void Ogre::GLStateCacheManagerImp::setDepthMask | ( | GLboolean | mask | ) |
| void Ogre::GLStateCacheManagerImp::setDepthMask | ( | GLboolean | mask | ) |
| void Ogre::GLStateCacheManagerImp::setDisabled | ( | GLenum | flag | ) |
| void Ogre::GLStateCacheManagerImp::setDisabled | ( | GLenum | flag | ) |
| void Ogre::GLStateCacheManagerImp::setDiscardBuffers | ( | unsigned int | flags | ) |
See GLStateCacheManager.setDiscardBuffers.
Definition at line 178 of file OgreGLNullStateCacheManagerImp.h.
References mDiscardBuffers.
| void Ogre::GLStateCacheManagerImp::setDiscardBuffers | ( | unsigned int | flags | ) |
See GLStateCacheManager.setDiscardBuffers.
Definition at line 216 of file OgreGLStateCacheManagerImp.h.
| void Ogre::GLStateCacheManagerImp::setEnabled | ( | GLenum | flag | ) |
| void Ogre::GLStateCacheManagerImp::setEnabled | ( | GLenum | flag | ) |
| void Ogre::GLStateCacheManagerImp::setLightAmbient | ( | GLfloat | r, |
| GLfloat | g, | ||
| GLfloat | b | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setLightAmbient | ( | GLfloat | r, |
| GLfloat | g, | ||
| GLfloat | b | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setMaterialAmbient | ( | GLfloat | r, |
| GLfloat | g, | ||
| GLfloat | b, | ||
| GLfloat | a | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setMaterialAmbient | ( | GLfloat | r, |
| GLfloat | g, | ||
| GLfloat | b, | ||
| GLfloat | a | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setMaterialDiffuse | ( | GLfloat | r, |
| GLfloat | g, | ||
| GLfloat | b, | ||
| GLfloat | a | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setMaterialDiffuse | ( | GLfloat | r, |
| GLfloat | g, | ||
| GLfloat | b, | ||
| GLfloat | a | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setMaterialEmissive | ( | GLfloat | r, |
| GLfloat | g, | ||
| GLfloat | b, | ||
| GLfloat | a | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setMaterialEmissive | ( | GLfloat | r, |
| GLfloat | g, | ||
| GLfloat | b, | ||
| GLfloat | a | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setMaterialShininess | ( | GLfloat | shininess | ) |
| void Ogre::GLStateCacheManagerImp::setMaterialShininess | ( | GLfloat | shininess | ) |
| void Ogre::GLStateCacheManagerImp::setMaterialSpecular | ( | GLfloat | r, |
| GLfloat | g, | ||
| GLfloat | b, | ||
| GLfloat | a | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setMaterialSpecular | ( | GLfloat | r, |
| GLfloat | g, | ||
| GLfloat | b, | ||
| GLfloat | a | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setPointParameters | ( | GLfloat * | attenuation, |
| float | minSize, | ||
| float | maxSize | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setPointParameters | ( | GLfloat * | attenuation, |
| float | minSize, | ||
| float | maxSize | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setPointSize | ( | GLfloat | size | ) |
| void Ogre::GLStateCacheManagerImp::setPointSize | ( | GLfloat | size | ) |
| void Ogre::GLStateCacheManagerImp::setPolygonMode | ( | GLenum | mode | ) |
| void Ogre::GLStateCacheManagerImp::setPolygonMode | ( | GLenum | mode | ) |
| void Ogre::GLStateCacheManagerImp::setShadeModel | ( | GLenum | model | ) |
| void Ogre::GLStateCacheManagerImp::setShadeModel | ( | GLenum | model | ) |
| void Ogre::GLStateCacheManagerImp::setStencilMask | ( | GLuint | mask | ) |
| void Ogre::GLStateCacheManagerImp::setStencilMask | ( | GLuint | mask | ) |
| void Ogre::GLStateCacheManagerImp::setTexParameteri | ( | GLenum | target, |
| GLenum | pname, | ||
| GLint | param | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setTexParameteri | ( | GLenum | target, |
| GLenum | pname, | ||
| GLint | param | ||
| ) |
| void Ogre::GLStateCacheManagerImp::setViewport | ( | GLint | x, |
| GLint | y, | ||
| GLsizei | width, | ||
| GLsizei | height | ||
| ) |
Set viewport parameters.
| void Ogre::GLStateCacheManagerImp::setViewport | ( | GLint | x, |
| GLint | y, | ||
| GLsizei | width, | ||
| GLsizei | height | ||
| ) |
Set viewport parameters.
A map of different buffer types and the currently bound buffer for each type.
Definition at line 75 of file OgreGLStateCacheManagerImp.h.
size_t Ogre::GLStateCacheManagerImp::mActiveTextureUnit [private] |
Stores the currently active texture unit.
Definition at line 65 of file OgreGLNullStateCacheManagerImp.h.
GLfloat Ogre::GLStateCacheManagerImp::mAmbient [private] |
Definition at line 77 of file OgreGLNullStateCacheManagerImp.h.
GLenum Ogre::GLStateCacheManagerImp::mBlendEquation [private] |
Stores the current blend equation.
Definition at line 53 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getBlendEquation().
GLenum Ogre::GLStateCacheManagerImp::mBlendEquationAlpha [private] |
Definition at line 74 of file OgreGLNullStateCacheManagerImp.h.
GLenum Ogre::GLStateCacheManagerImp::mBlendEquationRGB [private] |
Definition at line 73 of file OgreGLNullStateCacheManagerImp.h.
GLenum Ogre::GLStateCacheManagerImp::mBlendFuncDest [private] |
Stores the current blend destination function.
Definition at line 57 of file OgreGLNullStateCacheManagerImp.h.
GLenum Ogre::GLStateCacheManagerImp::mBlendFuncSource [private] |
Stores the current blend source function.
Definition at line 55 of file OgreGLNullStateCacheManagerImp.h.
HashMap<GLenum, GLuint> Ogre::GLStateCacheManagerImp::mBoundTextures [private] |
Stores textures currently bound to each texture stage.
Definition at line 65 of file OgreGLStateCacheManagerImp.h.
vector< GLclampf >::type Ogre::GLStateCacheManagerImp::mClearColour [private] |
Stores the current clear colour.
Definition at line 45 of file OgreGLNullStateCacheManagerImp.h.
GLclampf Ogre::GLStateCacheManagerImp::mClearDepth [private] |
Stores the current depth clearing colour.
Definition at line 69 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getClearDepth().
vector< GLboolean >::type Ogre::GLStateCacheManagerImp::mColourMask [private] |
Stores the current colour write mask.
Definition at line 47 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getColourMask().
GLenum Ogre::GLStateCacheManagerImp::mCullFace [private] |
Stores the current face culling setting.
Definition at line 59 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getCullFace().
GLenum Ogre::GLStateCacheManagerImp::mDepthFunc [private] |
Stores the current depth test function.
Definition at line 61 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getDepthFunc().
GLboolean Ogre::GLStateCacheManagerImp::mDepthMask [private] |
Stores the current depth write mask.
Definition at line 49 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getDepthMask().
GLfloat Ogre::GLStateCacheManagerImp::mDiffuse [private] |
Definition at line 78 of file OgreGLNullStateCacheManagerImp.h.
unsigned int Ogre::GLStateCacheManagerImp::mDiscardBuffers [private] |
Mask of buffers who contents can be discarded if GL_EXT_discard_framebuffer is supported.
Definition at line 67 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getDiscardBuffers(), and setDiscardBuffers().
GLfloat Ogre::GLStateCacheManagerImp::mEmissive [private] |
Definition at line 80 of file OgreGLNullStateCacheManagerImp.h.
vector<GLenum>::type Ogre::GLStateCacheManagerImp::mEnableVector [private] |
Array of each OpenGL feature that is enabled i.e. blending, depth test, etc.
Definition at line 79 of file OgreGLStateCacheManagerImp.h.
GLuint Ogre::GLStateCacheManagerImp::mLastBoundTexID [private] |
Stores the last bound texture id.
Definition at line 101 of file OgreGLStateCacheManagerImp.h.
GLfloat Ogre::GLStateCacheManagerImp::mLightAmbient [private] |
Definition at line 81 of file OgreGLNullStateCacheManagerImp.h.
GLfloat Ogre::GLStateCacheManagerImp::mPointAttenuation [private] |
Definition at line 87 of file OgreGLNullStateCacheManagerImp.h.
GLfloat Ogre::GLStateCacheManagerImp::mPointSize [private] |
Definition at line 84 of file OgreGLNullStateCacheManagerImp.h.
GLfloat Ogre::GLStateCacheManagerImp::mPointSizeMax [private] |
Definition at line 86 of file OgreGLNullStateCacheManagerImp.h.
GLfloat Ogre::GLStateCacheManagerImp::mPointSizeMin [private] |
Definition at line 85 of file OgreGLNullStateCacheManagerImp.h.
GLenum Ogre::GLStateCacheManagerImp::mPolygonMode [private] |
Stores the current polygon rendering mode.
Definition at line 51 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getPolygonMode().
GLenum Ogre::GLStateCacheManagerImp::mShadeModel [private] |
Definition at line 75 of file OgreGLNullStateCacheManagerImp.h.
GLfloat Ogre::GLStateCacheManagerImp::mShininess [private] |
Definition at line 82 of file OgreGLNullStateCacheManagerImp.h.
GLfloat Ogre::GLStateCacheManagerImp::mSpecular [private] |
Definition at line 79 of file OgreGLNullStateCacheManagerImp.h.
GLuint Ogre::GLStateCacheManagerImp::mStencilMask [private] |
Stores the current stencil mask.
Definition at line 63 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getStencilMask().
HashMap<GLenum, TexGenParams> Ogre::GLStateCacheManagerImp::mTextureCoordGen [private] |
Stores the currently enabled texcoord generation types per texture unit.
Definition at line 72 of file OgreGLStateCacheManagerImp.h.
A map of texture parameters for each texture unit.
Definition at line 77 of file OgreGLStateCacheManagerImp.h.
int Ogre::GLStateCacheManagerImp::mViewport [private] |
Viewport origin and size.
Definition at line 71 of file OgreGLNullStateCacheManagerImp.h.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:13