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.
◆ GLESFrameBufferObject()
Ogre::GLESFrameBufferObject::GLESFrameBufferObject |
( |
GLESFBOManager * |
manager, |
|
|
uint |
fsaa |
|
) |
| |
◆ ~GLESFrameBufferObject()
Ogre::GLESFrameBufferObject::~GLESFrameBufferObject |
( |
| ) |
|
◆ attachDepthBuffer()
void Ogre::GLESFrameBufferObject::attachDepthBuffer |
( |
DepthBuffer * |
depthBuffer | ) |
|
◆ bind()
void Ogre::GLESFrameBufferObject::bind |
( |
| ) |
|
◆ bindSurface()
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
◆ detachDepthBuffer()
void Ogre::GLESFrameBufferObject::detachDepthBuffer |
( |
| ) |
|
◆ getFormat()
◆ getFSAA()
GLsizei Ogre::GLESFrameBufferObject::getFSAA |
( |
| ) |
|
◆ getHeight()
uint32 Ogre::GLESFrameBufferObject::getHeight |
( |
| ) |
|
◆ getManager()
◆ getSurface()
const GLESSurfaceDesc& Ogre::GLESFrameBufferObject::getSurface |
( |
size_t |
attachment | ) |
|
◆ getWidth()
uint32 Ogre::GLESFrameBufferObject::getWidth |
( |
| ) |
|
◆ initialise()
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
◆ notifyOnContextLost()
void Ogre::GLESFrameBufferObject::notifyOnContextLost |
( |
| ) |
|
◆ notifyOnContextReset()
void Ogre::GLESFrameBufferObject::notifyOnContextReset |
( |
const GLESSurfaceDesc & |
target | ) |
|
◆ swapBuffers()
void Ogre::GLESFrameBufferObject::swapBuffers |
( |
| ) |
|
Swap buffers - only useful when using multisample buffers.
◆ unbindSurface()
void Ogre::GLESFrameBufferObject::unbindSurface |
( |
size_t |
attachment | ) |
|
◆ mColour
◆ mDepth
◆ mFB
GLuint Ogre::GLESFrameBufferObject::mFB |
|
private |
◆ mManager
◆ mMultisampleColourBuffer
◆ mMultisampleFB
GLuint Ogre::GLESFrameBufferObject::mMultisampleFB |
|
private |
◆ mNumSamples
GLsizei Ogre::GLESFrameBufferObject::mNumSamples |
|
private |
◆ mStencil
The documentation for this class was generated from the following file: