![]() |
OGRE
master
Object-Oriented Graphics Rendering Engine
|
Frame Buffer Object abstraction. More...
#include <OgreGLFrameBufferObject.h>
Inheritance diagram for Ogre::GLFrameBufferObject:Public Member Functions | |
| GLFrameBufferObject (GLFBOManager *manager, uint fsaa) | |
| ~GLFrameBufferObject () | |
| void | attachDepthBuffer (DepthBuffer *depthBuffer) |
| This function acts very similar to. More... | |
| bool | bind (bool recreateIfNeeded) override |
| Bind FrameBufferObject. More... | |
| void | detachDepthBuffer () |
| GLFBOManager * | getManager () |
| void | swapBuffers () |
| Swap buffers - only useful when using multisample buffers. More... | |
Public Member Functions inherited from Ogre::GLFrameBufferObjectCommon | |
| GLFrameBufferObjectCommon (int32 fsaa, GLRTTManager &) | |
| virtual | ~GLFrameBufferObjectCommon () |
| void | bindSurface (size_t attachment, const GLSurfaceDesc &target) |
| Bind a surface to a certain attachment point. More... | |
| void | determineFBOBufferSharingAllowed (RenderTarget &) |
| Determines and sets mAllowRenderBufferSharing based on given render target properties. More... | |
| GLContext * | getContext () const |
| PixelFormat | getFormat () const |
| int32 | getFSAA () const |
| Accessors. More... | |
| uint32 | getGLFBOID () const |
| Get the GL id for the FBO. More... | |
| uint32 | getGLMultisampleFBOID () const |
| Get the GL id for the multisample FBO. More... | |
| uint32 | getHeight () const |
| const GLSurfaceDesc & | getSurface (size_t attachment) const |
| uint32 | getWidth () const |
| void | notifyContextDestroyed (GLContext *context) |
| void | setAllowRenderBufferSharing (bool) |
| Sets mAllowRenderBufferSharing, triggers re-initialization if value is different. More... | |
| void | unbindSurface (size_t attachment) |
| Unbind attachment. More... | |
Frame Buffer Object abstraction.
| Ogre::GLFrameBufferObject::GLFrameBufferObject | ( | GLFBOManager * | manager, |
| uint | fsaa | ||
| ) |
| Ogre::GLFrameBufferObject::~GLFrameBufferObject | ( | ) |
|
overridevirtual |
Bind FrameBufferObject.
Attempt to bind on incompatible GL context will cause FBO destruction and optional recreation.
Implements Ogre::GLFrameBufferObjectCommon.
| void Ogre::GLFrameBufferObject::swapBuffers | ( | ) |
Swap buffers - only useful when using multisample buffers.
| void Ogre::GLFrameBufferObject::attachDepthBuffer | ( | DepthBuffer * | depthBuffer | ) |
This function acts very similar to.
| void Ogre::GLFrameBufferObject::detachDepthBuffer | ( | ) |
|
inline |