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