![]() |
OGRE 14.2
Object-Oriented Graphics Rendering Engine
|
Frame Buffer Object abstraction. More...
#include <OgreGLRenderTexture.h>
Inheritance diagram for Ogre::GLFrameBufferObjectCommon:Public Member Functions | |
| GLFrameBufferObjectCommon (int32 fsaa) | |
| virtual | ~GLFrameBufferObjectCommon () |
| virtual bool | bind (bool recreateIfNeeded)=0 |
| Bind FrameBufferObject. | |
| void | bindSurface (size_t attachment, const GLSurfaceDesc &target) |
| Bind a surface to a certain attachment point. | |
| GLContext * | getContext () const |
| PixelFormat | getFormat () const |
| int32 | getFSAA () const |
| Accessors. | |
| uint32 | getGLFBOID () const |
| Get the GL id for the FBO. | |
| uint32 | getGLMultisampleFBOID () const |
| Get the GL id for the multisample FBO. | |
| uint32 | getHeight () const |
| const GLSurfaceDesc & | getSurface (size_t attachment) const |
| uint32 | getWidth () const |
| void | notifyContextDestroyed (GLContext *context) |
| void | unbindSurface (size_t attachment) |
| Unbind attachment. | |
Frame Buffer Object abstraction.
| Ogre::GLFrameBufferObjectCommon::GLFrameBufferObjectCommon | ( | int32 | fsaa | ) |
|
inlinevirtual |
Bind FrameBufferObject.
Attempt to bind on incompatible GL context will cause FBO destruction and optional recreation.
Implemented in Ogre::GLFrameBufferObject, Ogre::GL3PlusFrameBufferObject, and Ogre::GLES2FrameBufferObject.
| void Ogre::GLFrameBufferObjectCommon::bindSurface | ( | size_t | attachment, |
| const GLSurfaceDesc & | target ) |
Bind a surface to a certain attachment point.
attachment: 0..OGRE_MAX_MULTIPLE_RENDER_TARGETS-1
|
inline |
Accessors.
| uint32 Ogre::GLFrameBufferObjectCommon::getWidth | ( | ) | const |
| uint32 Ogre::GLFrameBufferObjectCommon::getHeight | ( | ) | const |
| PixelFormat Ogre::GLFrameBufferObjectCommon::getFormat | ( | ) | const |
|
inline |
|
inline |
Get the GL id for the FBO.
|
inline |
Get the GL id for the multisample FBO.
|
inline |