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