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. More... | |
bool | activateGLTextureUnit (size_t unit) |
See GLStateCacheManager.activateGLTextureUnit. More... | |
void | bindGLBuffer (GLenum target, GLuint buffer, bool force=false) |
See GLStateCacheManager.bindGLBuffer. More... | |
void | bindGLBuffer (GLenum target, GLuint buffer, GLenum attach=0, bool force=false) |
See GLStateCacheManager.bindGLBuffer. More... | |
void | bindGLTexture (GLenum target, GLuint texture) |
See GLStateCacheManager.bindGLTexture. More... | |
void | bindGLTexture (GLenum target, GLuint texture) |
See GLStateCacheManager.bindGLTexture. More... | |
void | clearCache () |
See GLStateCacheManager.clearCache. More... | |
void | clearCache () |
See GLStateCacheManager.clearCache. More... | |
void | deleteGLBuffer (GLenum target, GLuint buffer, bool force=false) |
See GLStateCacheManager.deleteGLBuffer. More... | |
void | deleteGLBuffer (GLenum target, GLuint buffer, GLenum attach=0, bool force=false) |
See GLStateCacheManager.deleteGLBuffer. More... | |
void | disableTextureCoordGen (GLenum type) |
Disable the specified texture coordinate generation option for the currently active texture unit. More... | |
void | disableTextureCoordGen (GLenum type) |
Disable the specified texture coordinate generation option for the currently active texture unit. More... | |
void | enableTextureCoordGen (GLenum type) |
Enable the specified texture coordinate generation option for the currently active texture unit. More... | |
void | enableTextureCoordGen (GLenum type) |
Enable the specified texture coordinate generation option for the currently active texture unit. More... | |
GLenum | getBlendEquation (void) const |
See GLStateCacheManager.getBlendEquation. More... | |
GLenum | getBlendEquation (void) const |
See GLStateCacheManager.getBlendEquation. More... | |
GLclampf | getClearDepth (void) const |
See GLStateCacheManager.getClearDepth. More... | |
GLclampf | getClearDepth (void) const |
See GLStateCacheManager.getClearDepth. More... | |
vector< GLboolean >::type & | getColourMask (void) |
See GLStateCacheManager.getColourMask. More... | |
vector< GLboolean >::type & | getColourMask (void) |
See GLStateCacheManager.getColourMask. More... | |
GLenum | getCullFace (void) const |
See GLStateCacheManager.getCullFace. More... | |
GLenum | getCullFace (void) const |
See GLStateCacheManager.getCullFace. More... | |
GLenum | getDepthFunc (void) const |
See GLStateCacheManager.getDepthFunc. More... | |
GLenum | getDepthFunc (void) const |
See GLStateCacheManager.getDepthFunc. More... | |
GLboolean | getDepthMask (void) const |
See GLStateCacheManager.getDepthMask. More... | |
GLboolean | getDepthMask (void) const |
See GLStateCacheManager.getDepthMask. More... | |
unsigned int | getDiscardBuffers (void) const |
See GLStateCacheManager.getDiscardBuffers. More... | |
unsigned int | getDiscardBuffers (void) const |
See GLStateCacheManager.getDiscardBuffers. More... | |
GLenum | getPolygonMode (void) const |
See GLStateCacheManager.getPolygonMode. More... | |
GLenum | getPolygonMode (void) const |
See GLStateCacheManager.getPolygonMode. More... | |
GLuint | getStencilMask (void) const |
See GLStateCacheManager.getStencilMask. More... | |
GLuint | getStencilMask (void) const |
See GLStateCacheManager.getStencilMask. More... | |
void | getViewport (int *array) |
Get viewport parameters. More... | |
void | getViewport (int *array) |
Get viewport parameters. More... | |
void | initializeCache () |
See GLStateCacheManager.initializeCache. More... | |
void | initializeCache () |
See GLStateCacheManager.initializeCache. More... | |
void | invalidateStateForTexture (GLuint texture) |
See GLStateCacheManager.invalidateStateForTexture. More... | |
void | invalidateStateForTexture (GLuint texture) |
See GLStateCacheManager.invalidateStateForTexture. More... | |
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 More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
void | setBlendEquation (GLenum eq) |
See GLStateCacheManager.setBlendEquation. More... | |
void | setBlendEquation (GLenum eqRGB, GLenum eqA) |
Set the blend equation for RGB and alpha separately. More... | |
void | setBlendEquation (GLenum eq) |
See GLStateCacheManager.setBlendEquation. More... | |
void | setBlendEquation (GLenum eqRGB, GLenum eqA) |
Set the blend equation for RGB and alpha separately. More... | |
void | setBlendFunc (GLenum source, GLenum dest) |
See GLStateCacheManager.setBlendFunc. More... | |
void | setBlendFunc (GLenum source, GLenum dest) |
See GLStateCacheManager.setBlendFunc. More... | |
void | setClearColour (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
See GLStateCacheManager.setClearColour. More... | |
void | setClearColour (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
See GLStateCacheManager.setClearColour. More... | |
void | setClearDepth (GLclampf depth) |
See GLStateCacheManager.setClearDepth. More... | |
void | setClearDepth (GLclampf depth) |
See GLStateCacheManager.setClearDepth. More... | |
void | setColourMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
See GLStateCacheManager.setColourMask. More... | |
void | setColourMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
See GLStateCacheManager.setColourMask. More... | |
void | setCullFace (GLenum face) |
See GLStateCacheManager.setCullFace. More... | |
void | setCullFace (GLenum face) |
See GLStateCacheManager.setCullFace. More... | |
void | setDepthFunc (GLenum func) |
See GLStateCacheManager.setDepthFunc. More... | |
void | setDepthFunc (GLenum func) |
See GLStateCacheManager.setDepthFunc. More... | |
void | setDepthMask (GLboolean mask) |
See GLStateCacheManager.setDepthMask. More... | |
void | setDepthMask (GLboolean mask) |
See GLStateCacheManager.setDepthMask. More... | |
void | setDiscardBuffers (unsigned int flags) |
See GLStateCacheManager.setDiscardBuffers. More... | |
void | setDiscardBuffers (unsigned int flags) |
See GLStateCacheManager.setDiscardBuffers. More... | |
void | setEnabled (GLenum flag, bool enabled) |
See GLStateCacheManager.setEnabled. More... | |
void | setEnabled (GLenum flag, bool enabled) |
See GLStateCacheManager.setEnabled. More... | |
void | setLightAmbient (GLfloat r, GLfloat g, GLfloat b) |
See GLStateCacheManager.setLightAmbient. More... | |
void | setLightAmbient (GLfloat r, GLfloat g, GLfloat b) |
See GLStateCacheManager.setLightAmbient. More... | |
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. More... | |
void | setPolygonMode (GLenum mode) |
See GLStateCacheManager.setPolygonMode. More... | |
void | setShadeModel (GLenum model) |
See GLStateCacheManager.setShadeModel. More... | |
void | setShadeModel (GLenum model) |
See GLStateCacheManager.setShadeModel. More... | |
void | setStencilMask (GLuint mask) |
See GLStateCacheManager.setStencilMask. More... | |
void | setStencilMask (GLuint mask) |
See GLStateCacheManager.setStencilMask. More... | |
void | setTexParameteri (GLenum target, GLenum pname, GLint param) |
See GLStateCacheManager.setTexParameteri. More... | |
void | setTexParameteri (GLenum target, GLenum pname, GLint param) |
See GLStateCacheManager.setTexParameteri. More... | |
void | setViewport (GLint x, GLint y, GLsizei width, GLsizei height) |
Set viewport parameters. More... | |
void | setViewport (GLint x, GLint y, GLsizei width, GLsizei height) |
Set viewport parameters. More... | |
Private Types | |
typedef HashMap< GLenum, GLuint > | BindBufferMap |
typedef HashMap< GLenum, bool > | GLbooleanStateMap |
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. More... | |
size_t | mActiveTextureUnit |
Stores the currently active texture unit. More... | |
GLfloat | mAmbient [4] |
GLenum | mBlendEquation |
Stores the current blend equation. More... | |
GLenum | mBlendEquationAlpha |
GLenum | mBlendEquationRGB |
GLenum | mBlendFuncDest |
Stores the current blend destination function. More... | |
GLenum | mBlendFuncSource |
Stores the current blend source function. More... | |
GLbooleanStateMap | mBoolStateMap |
Array of each OpenGL feature that is enabled i.e. blending, depth test, etc. More... | |
HashMap< GLenum, GLuint > | mBoundTextures |
Stores textures currently bound to each texture stage. More... | |
vector< GLclampf >::type | mClearColour |
Stores the current clear colour. More... | |
GLclampf | mClearDepth |
Stores the current depth clearing colour. More... | |
vector< GLboolean >::type | mColourMask |
Stores the current colour write mask. More... | |
GLenum | mCullFace |
Stores the current face culling setting. More... | |
GLenum | mDepthFunc |
Stores the current depth test function. More... | |
GLboolean | mDepthMask |
Stores the current depth write mask. More... | |
GLfloat | mDiffuse [4] |
unsigned int | mDiscardBuffers |
Mask of buffers who contents can be discarded if GL_EXT_discard_framebuffer is supported. More... | |
GLfloat | mEmissive [4] |
GLuint | mLastBoundTexID |
Stores the last bound texture id. More... | |
GLfloat | mLightAmbient [4] |
GLfloat | mPointAttenuation [3] |
GLfloat | mPointSize |
GLfloat | mPointSizeMax |
GLfloat | mPointSizeMin |
GLenum | mPolygonMode |
Stores the current polygon rendering mode. More... | |
GLenum | mShadeModel |
GLfloat | mShininess |
GLfloat | mSpecular [4] |
GLuint | mStencilMask |
Stores the current stencil mask. More... | |
HashMap< GLenum, TexGenParams > | mTextureCoordGen |
Stores the currently enabled texcoord generation types per texture unit. More... | |
TexUnitsMap | mTexUnitsMap |
A map of texture parameters for each texture unit. More... | |
int | mViewport [4] |
Viewport origin and size. More... | |
An in memory cache of the OpenGL state.
Definition at line 41 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Definition at line 44 of file OgreGLStateCacheManagerImp.h.
|
private |
Definition at line 46 of file OgreGLStateCacheManagerImp.h.
|
private |
Definition at line 45 of file OgreGLStateCacheManagerImp.h.
|
private |
Definition at line 58 of file OgreGLStateCacheManagerImp.h.
Ogre::GLStateCacheManagerImp::GLStateCacheManagerImp | ( | void | ) |
Ogre::GLStateCacheManagerImp::~GLStateCacheManagerImp | ( | void | ) |
Ogre::GLStateCacheManagerImp::GLStateCacheManagerImp | ( | void | ) |
Ogre::GLStateCacheManagerImp::~GLStateCacheManagerImp | ( | void | ) |
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::clearCache | ( | ) |
void Ogre::GLStateCacheManagerImp::clearCache | ( | ) |
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.
|
inline |
See GLStateCacheManager.getBlendEquation.
Definition at line 118 of file OgreGLNullStateCacheManagerImp.h.
References mBlendEquation.
|
inline |
See GLStateCacheManager.getBlendEquation.
Definition at line 157 of file OgreGLStateCacheManagerImp.h.
|
inline |
See GLStateCacheManager.getClearDepth.
Definition at line 148 of file OgreGLNullStateCacheManagerImp.h.
References mClearDepth.
|
inline |
See GLStateCacheManager.getClearDepth.
Definition at line 187 of file OgreGLStateCacheManagerImp.h.
|
inline |
See GLStateCacheManager.getColourMask.
Definition at line 157 of file OgreGLNullStateCacheManagerImp.h.
References mColourMask.
|
inline |
See GLStateCacheManager.getColourMask.
Definition at line 196 of file OgreGLStateCacheManagerImp.h.
|
inline |
See GLStateCacheManager.getCullFace.
Definition at line 184 of file OgreGLNullStateCacheManagerImp.h.
References mCullFace.
|
inline |
See GLStateCacheManager.getCullFace.
Definition at line 223 of file OgreGLStateCacheManagerImp.h.
|
inline |
See GLStateCacheManager.getDepthFunc.
Definition at line 142 of file OgreGLNullStateCacheManagerImp.h.
References mDepthFunc.
|
inline |
See GLStateCacheManager.getDepthFunc.
Definition at line 181 of file OgreGLStateCacheManagerImp.h.
|
inline |
See GLStateCacheManager.getDepthMask.
Definition at line 136 of file OgreGLNullStateCacheManagerImp.h.
References mDepthMask.
|
inline |
See GLStateCacheManager.getDepthMask.
Definition at line 175 of file OgreGLStateCacheManagerImp.h.
|
inline |
See GLStateCacheManager.getDiscardBuffers.
Definition at line 172 of file OgreGLNullStateCacheManagerImp.h.
References mDiscardBuffers.
|
inline |
See GLStateCacheManager.getDiscardBuffers.
Definition at line 211 of file OgreGLStateCacheManagerImp.h.
|
inline |
See GLStateCacheManager.getPolygonMode.
Definition at line 178 of file OgreGLNullStateCacheManagerImp.h.
References mPolygonMode.
|
inline |
See GLStateCacheManager.getPolygonMode.
Definition at line 217 of file OgreGLStateCacheManagerImp.h.
|
inline |
See GLStateCacheManager.getStencilMask.
Definition at line 163 of file OgreGLNullStateCacheManagerImp.h.
References mStencilMask.
|
inline |
See GLStateCacheManager.getStencilMask.
Definition at line 202 of file OgreGLStateCacheManagerImp.h.
void Ogre::GLStateCacheManagerImp::getViewport | ( | int * | array | ) |
Get viewport parameters.
void Ogre::GLStateCacheManagerImp::getViewport | ( | int * | array | ) |
Get viewport parameters.
void Ogre::GLStateCacheManagerImp::initializeCache | ( | ) |
See GLStateCacheManager.initializeCache.
void Ogre::GLStateCacheManagerImp::initializeCache | ( | ) |
See GLStateCacheManager.initializeCache.
void Ogre::GLStateCacheManagerImp::invalidateStateForTexture | ( | GLuint | texture | ) |
void Ogre::GLStateCacheManagerImp::invalidateStateForTexture | ( | GLuint | texture | ) |
|
inlineinherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
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 | ) |
|
inline |
See GLStateCacheManager.setDiscardBuffers.
Definition at line 175 of file OgreGLNullStateCacheManagerImp.h.
References mDiscardBuffers.
|
inline |
See GLStateCacheManager.setDiscardBuffers.
Definition at line 214 of file OgreGLStateCacheManagerImp.h.
void Ogre::GLStateCacheManagerImp::setEnabled | ( | GLenum | flag, |
bool | enabled | ||
) |
void Ogre::GLStateCacheManagerImp::setEnabled | ( | GLenum | flag, |
bool | enabled | ||
) |
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.
|
private |
A map of different buffer types and the currently bound buffer for each type.
Definition at line 76 of file OgreGLStateCacheManagerImp.h.
|
private |
Stores the currently active texture unit.
Definition at line 65 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Definition at line 77 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Stores the current blend equation.
Definition at line 53 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getBlendEquation().
|
private |
Definition at line 74 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Definition at line 73 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Stores the current blend destination function.
Definition at line 57 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Stores the current blend source function.
Definition at line 55 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Array of each OpenGL feature that is enabled i.e. blending, depth test, etc.
Definition at line 80 of file OgreGLStateCacheManagerImp.h.
|
private |
Stores textures currently bound to each texture stage.
Definition at line 66 of file OgreGLStateCacheManagerImp.h.
|
private |
Stores the current clear colour.
Definition at line 45 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Stores the current depth clearing colour.
Definition at line 69 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getClearDepth().
|
private |
Stores the current colour write mask.
Definition at line 47 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getColourMask().
|
private |
Stores the current face culling setting.
Definition at line 59 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getCullFace().
|
private |
Stores the current depth test function.
Definition at line 61 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getDepthFunc().
|
private |
Stores the current depth write mask.
Definition at line 49 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getDepthMask().
|
private |
Definition at line 78 of file OgreGLNullStateCacheManagerImp.h.
|
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().
|
private |
Definition at line 80 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Stores the last bound texture id.
Definition at line 102 of file OgreGLStateCacheManagerImp.h.
|
private |
Definition at line 81 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Definition at line 87 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Definition at line 84 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Definition at line 86 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Definition at line 85 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Stores the current polygon rendering mode.
Definition at line 51 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getPolygonMode().
|
private |
Definition at line 75 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Definition at line 82 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Definition at line 79 of file OgreGLNullStateCacheManagerImp.h.
|
private |
Stores the current stencil mask.
Definition at line 63 of file OgreGLNullStateCacheManagerImp.h.
Referenced by getStencilMask().
|
private |
Stores the currently enabled texcoord generation types per texture unit.
Definition at line 73 of file OgreGLStateCacheManagerImp.h.
|
private |
A map of texture parameters for each texture unit.
Definition at line 78 of file OgreGLStateCacheManagerImp.h.
|
private |
Viewport origin and size.
Definition at line 71 of file OgreGLNullStateCacheManagerImp.h.