#include <OgreGLFrameBufferObject.h>
Public Member Functions | |
GLFrameBufferObject (GLFBOManager *manager) | |
~GLFrameBufferObject () | |
void | bindSurface (size_t attachment, const GLSurfaceDesc &target) |
Bind a surface to a certain attachment point. | |
void | unbindSurface (size_t attachment) |
Unbind attachment. | |
void | bind () |
Bind FrameBufferObject. | |
size_t | getWidth () |
Accessors. | |
size_t | getHeight () |
PixelFormat | getFormat () |
GLFBOManager * | getManager () |
const GLSurfaceDesc & | getSurface (size_t attachment) |
Private Member Functions | |
void | initialise () |
Initialise object (find suitable depth and stencil format). | |
Private Attributes | |
GLFBOManager * | mManager |
GLuint | mFB |
GLSurfaceDesc | mDepth |
GLSurfaceDesc | mStencil |
GLSurfaceDesc | mColour [OGRE_MAX_MULTIPLE_RENDER_TARGETS] |
Definition at line 35 of file OgreGLFrameBufferObject.h.
|
|
|
|
|
Bind FrameBufferObject.
|
|
Bind a surface to a certain attachment point. attachment: 0..OGRE_MAX_MULTIPLE_RENDER_TARGETS-1 |
|
|
|
|
|
Definition at line 58 of file OgreGLFrameBufferObject.h. |
|
Definition at line 59 of file OgreGLFrameBufferObject.h. |
|
Accessors.
|
|
Initialise object (find suitable depth and stencil format). Must be called every time the bindings change. It fails with an exception (ERR_INVALIDPARAMS) if:
|
|
Unbind attachment.
|
|
Definition at line 66 of file OgreGLFrameBufferObject.h. |
|
Definition at line 63 of file OgreGLFrameBufferObject.h. |
|
Definition at line 62 of file OgreGLFrameBufferObject.h. |
|
Definition at line 61 of file OgreGLFrameBufferObject.h. |
|
Definition at line 64 of file OgreGLFrameBufferObject.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:52:13 2006