![]() |
OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
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... | |
| bool | bind (bool recreateIfNeeded) |
| Bind FrameBufferObject. More... | |
| void | bindSurface (size_t attachment, const GLSurfaceDesc &target) |
| Bind a surface to a certain attachment point. More... | |
| void | detachDepthBuffer () |
| GLContext * | getContext () |
| PixelFormat | getFormat () |
| GLsizei | getFSAA () |
| uint32 | getHeight () |
| GLES2FBOManager * | getManager () |
| const GLSurfaceDesc & | getSurface (size_t attachment) |
| uint32 | getWidth () |
| Accessors. More... | |
| void | notifyContextDestroyed (GLContext *context) |
| void | swapBuffers () |
| Swap buffers - only useful when using multisample buffers. More... | |
| void | unbindSurface (size_t attachment) |
| Unbind attachment. More... | |
Frame Buffer Object abstraction.
| Ogre::GLES2FrameBufferObject::GLES2FrameBufferObject | ( | GLES2FBOManager * | manager, |
| uint | fsaa | ||
| ) |
| Ogre::GLES2FrameBufferObject::~GLES2FrameBufferObject | ( | ) |
| void Ogre::GLES2FrameBufferObject::bindSurface | ( | size_t | attachment, |
| const GLSurfaceDesc & | target | ||
| ) |
Bind a surface to a certain attachment point.
attachment: 0..OGRE_MAX_MULTIPLE_RENDER_TARGETS-1
| void Ogre::GLES2FrameBufferObject::unbindSurface | ( | size_t | attachment | ) |
Unbind attachment.
| bool Ogre::GLES2FrameBufferObject::bind | ( | bool | recreateIfNeeded | ) |
Bind FrameBufferObject.
Attempt to bind on incompatible GL context will cause FBO destruction and optional recreation.
| void Ogre::GLES2FrameBufferObject::swapBuffers | ( | ) |
Swap buffers - only useful when using multisample buffers.
| void Ogre::GLES2FrameBufferObject::attachDepthBuffer | ( | DepthBuffer * | depthBuffer | ) |
This function acts very similar to.
| void Ogre::GLES2FrameBufferObject::detachDepthBuffer | ( | ) |
| uint32 Ogre::GLES2FrameBufferObject::getWidth | ( | ) |
Accessors.
| uint32 Ogre::GLES2FrameBufferObject::getHeight | ( | ) |
| PixelFormat Ogre::GLES2FrameBufferObject::getFormat | ( | ) |
| GLsizei Ogre::GLES2FrameBufferObject::getFSAA | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
References OGRE_MAX_MULTIPLE_RENDER_TARGETS.