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