![]() |
OGRE 14.2
Object-Oriented Graphics Rendering Engine
|
#include <OgreGLES2StateCacheManager.h>
Inheritance diagram for Ogre::GLES2StateCacheManager:Public Member Functions | |
| GLES2StateCacheManager (void) | |
| bool | activateGLTextureUnit (size_t unit) |
| Activate an OpenGL texture unit. | |
| void | bindGLBuffer (GLenum target, GLuint buffer) |
| Bind an OpenGL buffer of any type. | |
| void | bindGLTexture (GLenum target, GLuint texture) |
| Bind an OpenGL texture of any type. | |
| void | bindGLVertexArray (GLuint vao) |
| Bind an OpenGL Vertex array object. | |
| void | clearCache () |
| Clears all cached values. | |
| void | deleteGLBuffer (GLenum target, GLuint buffer) |
| Delete an OpenGL buffer of any type. | |
| void | initializeCache () |
| Initialize our cache variables and sets the GL states on the current context. | |
| void | invalidateStateForTexture (GLuint texture) |
| Invalidates the state associated with a particular texture ID. | |
| void | setBlendEquation (GLenum eqRGB, GLenum eqA) |
| Set the blend equation for RGB and alpha separately. | |
| void | setBlendFunc (GLenum source, GLenum dest, GLenum sourceA, GLenum destA) |
| Set the blend function for RGB and alpha separately. | |
| void | setClearColour (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
| Sets the color to clear to. | |
| void | setClearDepth (GLclampf depth) |
| Sets the clear depth in the range from [0..1]. | |
| void | setColourMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
| Sets the current colour mask. | |
| void | setCullFace (GLenum face) |
| Sets the face culling setting. | |
| void | setDepthFunc (GLenum func) |
| Sets the current depth test function. | |
| void | setDepthMask (GLboolean mask) |
| Sets the current depth mask setting. | |
| void | setDisabled (GLenum flag) |
| Disables a piece of OpenGL functionality. | |
| void | setEnabled (GLenum flag) |
| Enables a piece of OpenGL functionality. | |
| void | setStencilMask (GLuint mask) |
| Sets the stencil mask. | |
| void | setTexParameteri (GLenum target, GLenum pname, GLint param) |
| Sets an integer parameter value per texture target. | |
| void | setViewport (const Rect &r) |
Public Member Functions inherited from Ogre::GLStateCacheManagerCommon | |
| virtual | ~GLStateCacheManagerCommon () |
| uchar * | getColourMask () |
| Gets the current colour mask setting. | |
| uchar | getDepthMask () const |
| Gets the current depth mask setting. | |
| uint32 | getStencilMask (void) const |
| Gets the current stencil mask. | |
| Ogre::GLES2StateCacheManager::GLES2StateCacheManager | ( | void | ) |
| void Ogre::GLES2StateCacheManager::initializeCache | ( | ) |
Initialize our cache variables and sets the GL states on the current context.
| void Ogre::GLES2StateCacheManager::clearCache | ( | ) |
Clears all cached values.
Bind an OpenGL buffer of any type.
| target | The buffer target. |
| buffer | The buffer ID. |
Delete an OpenGL buffer of any type.
| target | The buffer target. |
| buffer | The buffer ID. |
Bind an OpenGL Vertex array object.
| vao | The vertex array object ID. |
Bind an OpenGL texture of any type.
| target | The texture target. |
| texture | The texture ID. |
Invalidates the state associated with a particular texture ID.
| texture | The texture ID. |
Sets an integer parameter value per texture target.
| target | The texture target. |
| pname | The parameter name. |
| param | The parameter value. |
Activate an OpenGL texture unit.
| unit | The texture unit to activate. |
Set the blend equation for RGB and alpha separately.
| void Ogre::GLES2StateCacheManager::setBlendFunc | ( | GLenum | source, |
| GLenum | dest, | ||
| GLenum | sourceA, | ||
| GLenum | destA ) |
Set the blend function for RGB and alpha separately.
Sets the current depth mask setting.
| mask | The depth mask to use. |
Sets the current depth test function.
| func | The depth test function to use. |
Sets the clear depth in the range from [0..1].
| depth | The clear depth to use. |
| void Ogre::GLES2StateCacheManager::setClearColour | ( | GLclampf | red, |
| GLclampf | green, | ||
| GLclampf | blue, | ||
| GLclampf | alpha ) |
Sets the color to clear to.
| red | The red component. |
| green | The green component. |
| blue | The blue component. |
| alpha | The alpha component. |
| void Ogre::GLES2StateCacheManager::setColourMask | ( | GLboolean | red, |
| GLboolean | green, | ||
| GLboolean | blue, | ||
| GLboolean | alpha ) |
Sets the current colour mask.
| red | The red component. |
| green | The green component. |
| blue | The blue component. |
| alpha | The alpha component. |
Sets the stencil mask.
| mask | The stencil mask to use |
Enables a piece of OpenGL functionality.
| flag | The function to enable. |
Disables a piece of OpenGL functionality.
| flag | The function to disable. |
Sets the face culling setting.
| face | The face culling mode to use. |