Frame Buffer Object abstraction. More...
#include <OgreGLES2FrameBufferObject.h>
Public Member Functions | |
| GLES2FrameBufferObject (GLES2FBOManager *manager, uint fsaa) | |
| ~GLES2FrameBufferObject () | |
| void | attachDepthBuffer (DepthBuffer *depthBuffer) |
| This function acts very similar to. More... | |
| void | bind () |
| Bind FrameBufferObject. More... | |
| void | bindSurface (size_t attachment, const GLES2SurfaceDesc &target) |
| Bind a surface to a certain attachment point. More... | |
| void | detachDepthBuffer () |
| PixelFormat | getFormat () |
| GLsizei | getFSAA () |
| uint32 | getHeight () |
| GLES2FBOManager * | getManager () |
| const GLES2SurfaceDesc & | getSurface (size_t attachment) |
| uint32 | getWidth () |
| Accessors. More... | |
| void | notifyOnContextLost () |
| See AndroidResource. More... | |
| void | notifyOnContextReset (const GLES2SurfaceDesc &target) |
| See AndroidResource. More... | |
| void | swapBuffers () |
| Swap buffers - only useful when using multisample buffers. More... | |
| void | unbindSurface (size_t attachment) |
| Unbind attachment. More... | |
Private Member Functions | |
| void | initialise () |
| Initialise object (find suitable depth and stencil format). More... | |
Private Attributes | |
| GLES2SurfaceDesc | mColour [OGRE_MAX_MULTIPLE_RENDER_TARGETS] |
| GLES2SurfaceDesc | mDepth |
| GLuint | mFB |
| GLES2FBOManager * | mManager |
| GLES2SurfaceDesc | mMultisampleColourBuffer |
| GLuint | mMultisampleFB |
| GLsizei | mNumSamples |
| GLES2SurfaceDesc | mStencil |
Frame Buffer Object abstraction.
Definition at line 42 of file OgreGLES2FrameBufferObject.h.
| Ogre::GLES2FrameBufferObject::GLES2FrameBufferObject | ( | GLES2FBOManager * | manager, |
| uint | fsaa | ||
| ) |
| Ogre::GLES2FrameBufferObject::~GLES2FrameBufferObject | ( | ) |
| void Ogre::GLES2FrameBufferObject::attachDepthBuffer | ( | DepthBuffer * | depthBuffer | ) |
This function acts very similar to.
| void Ogre::GLES2FrameBufferObject::bind | ( | ) |
Bind FrameBufferObject.
| void Ogre::GLES2FrameBufferObject::bindSurface | ( | size_t | attachment, |
| const GLES2SurfaceDesc & | target | ||
| ) |
Bind a surface to a certain attachment point.
attachment: 0..OGRE_MAX_MULTIPLE_RENDER_TARGETS-1
| void Ogre::GLES2FrameBufferObject::detachDepthBuffer | ( | ) |
| PixelFormat Ogre::GLES2FrameBufferObject::getFormat | ( | ) |
| GLsizei Ogre::GLES2FrameBufferObject::getFSAA | ( | ) |
| uint32 Ogre::GLES2FrameBufferObject::getHeight | ( | ) |
| GLES2FBOManager* Ogre::GLES2FrameBufferObject::getManager | ( | ) |
Definition at line 78 of file OgreGLES2FrameBufferObject.h.
| const GLES2SurfaceDesc& Ogre::GLES2FrameBufferObject::getSurface | ( | size_t | attachment | ) |
Definition at line 79 of file OgreGLES2FrameBufferObject.h.
| uint32 Ogre::GLES2FrameBufferObject::getWidth | ( | ) |
Accessors.
|
private |
Initialise object (find suitable depth and stencil format).
Must be called every time the bindings change. It fails with an exception (ERR_INVALIDPARAMS) if:
| void Ogre::GLES2FrameBufferObject::notifyOnContextLost | ( | ) |
See AndroidResource.
| void Ogre::GLES2FrameBufferObject::notifyOnContextReset | ( | const GLES2SurfaceDesc & | target | ) |
See AndroidResource.
| void Ogre::GLES2FrameBufferObject::swapBuffers | ( | ) |
Swap buffers - only useful when using multisample buffers.
| void Ogre::GLES2FrameBufferObject::unbindSurface | ( | size_t | attachment | ) |
Unbind attachment.
|
private |
Definition at line 98 of file OgreGLES2FrameBufferObject.h.
|
private |
Definition at line 95 of file OgreGLES2FrameBufferObject.h.
|
private |
Definition at line 92 of file OgreGLES2FrameBufferObject.h.
|
private |
Definition at line 90 of file OgreGLES2FrameBufferObject.h.
|
private |
Definition at line 94 of file OgreGLES2FrameBufferObject.h.
|
private |
Definition at line 93 of file OgreGLES2FrameBufferObject.h.
|
private |
Definition at line 91 of file OgreGLES2FrameBufferObject.h.
|
private |
Definition at line 96 of file OgreGLES2FrameBufferObject.h.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Mar 18 2014 19:15:39