Frame Buffer Object abstraction. More...
#include <OgreGLESFrameBufferObject.h>
Public Member Functions | |
| GLESFrameBufferObject (GLESFBOManager *manager, uint fsaa) | |
| ~GLESFrameBufferObject () | |
| void | attachDepthBuffer (DepthBuffer *depthBuffer) |
| This function acts very similar to. | |
| void | bind () |
| Bind FrameBufferObject. | |
| void | bindSurface (size_t attachment, const GLESSurfaceDesc &target) |
| Bind a surface to a certain attachment point. | |
| void | detachDepthBuffer () |
| PixelFormat | getFormat () |
| GLsizei | getFSAA () |
| uint32 | getHeight () |
| GLESFBOManager * | getManager () |
| const GLESSurfaceDesc & | getSurface (size_t attachment) |
| uint32 | getWidth () |
| Accessors. | |
| void | notifyOnContextLost () |
| See AndroidResource. | |
| void | notifyOnContextReset (const GLESSurfaceDesc &target) |
| See AndroidResource. | |
| void | swapBuffers () |
| Swap buffers - only useful when using multisample buffers. | |
| void | unbindSurface (size_t attachment) |
| Unbind attachment. | |
Private Member Functions | |
| void | initialise () |
| Initialise object (find suitable depth and stencil format). | |
Private Attributes | |
| GLESSurfaceDesc | mColour [OGRE_MAX_MULTIPLE_RENDER_TARGETS] |
| GLESSurfaceDesc | mDepth |
| GLuint | mFB |
| GLESFBOManager * | mManager |
| GLESSurfaceDesc | mMultisampleColourBuffer |
| GLuint | mMultisampleFB |
| GLsizei | mNumSamples |
| GLESSurfaceDesc | mStencil |
Frame Buffer Object abstraction.
Definition at line 41 of file OgreGLESFrameBufferObject.h.
| Ogre::GLESFrameBufferObject::GLESFrameBufferObject | ( | GLESFBOManager * | manager, |
| uint | fsaa | ||
| ) |
| void Ogre::GLESFrameBufferObject::attachDepthBuffer | ( | DepthBuffer * | depthBuffer | ) |
This function acts very similar to.
| void Ogre::GLESFrameBufferObject::bind | ( | ) |
Bind FrameBufferObject.
| void Ogre::GLESFrameBufferObject::bindSurface | ( | size_t | attachment, |
| const GLESSurfaceDesc & | target | ||
| ) |
Bind a surface to a certain attachment point.
attachment: 0..OGRE_MAX_MULTIPLE_RENDER_TARGETS-1
| GLsizei Ogre::GLESFrameBufferObject::getFSAA | ( | ) |
Definition at line 77 of file OgreGLESFrameBufferObject.h.
| const GLESSurfaceDesc& Ogre::GLESFrameBufferObject::getSurface | ( | size_t | attachment | ) |
Definition at line 78 of file OgreGLESFrameBufferObject.h.
Accessors.
| void Ogre::GLESFrameBufferObject::initialise | ( | ) | [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::GLESFrameBufferObject::notifyOnContextReset | ( | const GLESSurfaceDesc & | target | ) |
See AndroidResource.
Swap buffers - only useful when using multisample buffers.
| void Ogre::GLESFrameBufferObject::unbindSurface | ( | size_t | attachment | ) |
Unbind attachment.
Definition at line 97 of file OgreGLESFrameBufferObject.h.
Definition at line 94 of file OgreGLESFrameBufferObject.h.
GLuint Ogre::GLESFrameBufferObject::mFB [private] |
Definition at line 91 of file OgreGLESFrameBufferObject.h.
Definition at line 89 of file OgreGLESFrameBufferObject.h.
Definition at line 93 of file OgreGLESFrameBufferObject.h.
GLuint Ogre::GLESFrameBufferObject::mMultisampleFB [private] |
Definition at line 92 of file OgreGLESFrameBufferObject.h.
GLsizei Ogre::GLESFrameBufferObject::mNumSamples [private] |
Definition at line 90 of file OgreGLESFrameBufferObject.h.
Definition at line 95 of file OgreGLESFrameBufferObject.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:08