Frame Buffer Object abstraction.
More...
#include <OgreGLESFrameBufferObject.h>
|
void | initialise () |
| Initialise object (find suitable depth and stencil format). More...
|
|
Frame Buffer Object abstraction.
Definition at line 41 of file OgreGLESFrameBufferObject.h.
Ogre::GLESFrameBufferObject::GLESFrameBufferObject |
( |
GLESFBOManager * |
manager, |
|
|
uint |
fsaa |
|
) |
| |
Ogre::GLESFrameBufferObject::~GLESFrameBufferObject |
( |
| ) |
|
void Ogre::GLESFrameBufferObject::attachDepthBuffer |
( |
DepthBuffer * |
depthBuffer | ) |
|
void Ogre::GLESFrameBufferObject::bind |
( |
| ) |
|
void Ogre::GLESFrameBufferObject::bindSurface |
( |
size_t |
attachment, |
|
|
const GLESSurfaceDesc & |
target |
|
) |
| |
Bind a surface to a certain attachment point.
attachment: 0..OGRE_MAX_MULTIPLE_RENDER_TARGETS-1
void Ogre::GLESFrameBufferObject::detachDepthBuffer |
( |
| ) |
|
GLsizei Ogre::GLESFrameBufferObject::getFSAA |
( |
| ) |
|
uint32 Ogre::GLESFrameBufferObject::getHeight |
( |
| ) |
|
const GLESSurfaceDesc& Ogre::GLESFrameBufferObject::getSurface |
( |
size_t |
attachment | ) |
|
|
inline |
uint32 Ogre::GLESFrameBufferObject::getWidth |
( |
| ) |
|
void Ogre::GLESFrameBufferObject::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::GLESFrameBufferObject::notifyOnContextLost |
( |
| ) |
|
void Ogre::GLESFrameBufferObject::notifyOnContextReset |
( |
const GLESSurfaceDesc & |
target | ) |
|
void Ogre::GLESFrameBufferObject::swapBuffers |
( |
| ) |
|
Swap buffers - only useful when using multisample buffers.
void Ogre::GLESFrameBufferObject::unbindSurface |
( |
size_t |
attachment | ) |
|
GLuint Ogre::GLESFrameBufferObject::mFB |
|
private |
GLuint Ogre::GLESFrameBufferObject::mMultisampleFB |
|
private |
GLsizei Ogre::GLESFrameBufferObject::mNumSamples |
|
private |
The documentation for this class was generated from the following file: