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