Frame Buffer Object abstraction.
More...
#include <OgreGLFrameBufferObject.h>
|
void | initialise () |
| Initialise object (find suitable depth and stencil format). More...
|
|
Frame Buffer Object abstraction.
Definition at line 38 of file OgreGLFrameBufferObject.h.
Ogre::GLFrameBufferObject::GLFrameBufferObject |
( |
GLFBOManager * |
manager, |
|
|
uint |
fsaa |
|
) |
| |
Ogre::GLFrameBufferObject::~GLFrameBufferObject |
( |
| ) |
|
void Ogre::GLFrameBufferObject::attachDepthBuffer |
( |
DepthBuffer * |
depthBuffer | ) |
|
void Ogre::GLFrameBufferObject::bind |
( |
| ) |
|
void Ogre::GLFrameBufferObject::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::GLFrameBufferObject::detachDepthBuffer |
( |
| ) |
|
GLsizei Ogre::GLFrameBufferObject::getFSAA |
( |
| ) |
|
GLuint Ogre::GLFrameBufferObject::getGLFBOID |
( |
| ) |
const |
|
inline |
GLuint Ogre::GLFrameBufferObject::getGLMultisampleFBOID |
( |
| ) |
const |
|
inline |
size_t Ogre::GLFrameBufferObject::getHeight |
( |
| ) |
|
const GLSurfaceDesc& Ogre::GLFrameBufferObject::getSurface |
( |
size_t |
attachment | ) |
|
|
inline |
size_t Ogre::GLFrameBufferObject::getWidth |
( |
| ) |
|
void Ogre::GLFrameBufferObject::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:
- Attachment point 0 has no binding
- Not all bound surfaces have the same size
- Not all bound surfaces have the same internal format
void Ogre::GLFrameBufferObject::swapBuffers |
( |
| ) |
|
Swap buffers - only useful when using multisample buffers.
void Ogre::GLFrameBufferObject::unbindSurface |
( |
size_t |
attachment | ) |
|
GLuint Ogre::GLFrameBufferObject::mFB |
|
private |
GLSurfaceDesc Ogre::GLFrameBufferObject::mMultisampleColourBuffer |
|
private |
GLuint Ogre::GLFrameBufferObject::mMultisampleFB |
|
private |
GLsizei Ogre::GLFrameBufferObject::mNumSamples |
|
private |
The documentation for this class was generated from the following file: