#include <OgreGLFBORenderTexture.h>
Inheritance diagram for Ogre::GLFBOManager:
Public Member Functions | |
GLFBOManager (bool atimode) | |
~GLFBOManager () | |
void | bind (RenderTarget *target) |
Bind a certain render target if it is a FBO. | |
void | unbind (RenderTarget *target) |
Unbind a certain render target. | |
void | getBestDepthStencil (GLenum internalFormat, GLenum *depthFormat, GLenum *stencilFormat) |
Get best depth and stencil supported for given internalFormat. | |
virtual GLFBORenderTexture * | createRenderTexture (const String &name, const GLSurfaceDesc &target) |
Create a texture rendertarget object. | |
virtual MultiRenderTarget * | createMultiRenderTarget (const String &name) |
Create a multi render target. | |
GLFrameBufferObject * | createFrameBufferObject () |
Create a framebuffer object. | |
void | destroyFrameBufferObject (GLFrameBufferObject *) |
Destroy a framebuffer object. | |
GLSurfaceDesc | requestRenderBuffer (GLenum format, size_t width, size_t height) |
Request a render buffer. | |
void | requestRenderBuffer (const GLSurfaceDesc &surface) |
Request the specify render buffer in case shared somewhere. | |
void | releaseRenderBuffer (const GLSurfaceDesc &surface) |
Release a render buffer. | |
bool | checkFormat (PixelFormat format) |
Check if a certain format is usable as FBO rendertarget format. | |
GLuint | getTemporaryFBO () |
Get a FBO without depth/stencil for temporary use, like blitting between textures. | |
virtual PixelFormat | getSupportedAlternative (PixelFormat format) |
Get the closest supported alternative format. | |
Singleton (void) | |
Static Public Member Functions | |
static GLRTTManager & | getSingleton (void) |
static GLRTTManager * | getSingletonPtr (void) |
Static Protected Attributes | |
static GLRTTManager * | ms_Singleton |
Private Types | |
typedef std::map< RBFormat, RBRef > | RenderBufferMap |
Private Member Functions | |
void | detectFBOFormats () |
Detect allowed FBO formats. | |
GLuint | _tryFormat (GLenum depthFormat, GLenum stencilFormat) |
bool | _tryPackedFormat (GLenum packedFormat) |
Private Attributes | |
FormatProperties | mProps [PF_COUNT] |
Properties for all internal formats defined by OGRE. | |
RenderBufferMap | mRenderBufferMap |
GLuint | mTempFBO |
Temporary FBO identifier. | |
bool | mATIMode |
Buggy ATI driver? | |
Classes | |
struct | FormatProperties |
Frame Buffer Object properties for a certain texture format. More... | |
struct | RBFormat |
Stencil and depth renderbuffers of the same format are re-used between surfaces of the same size and format. More... | |
struct | RBRef |
Definition at line 53 of file OgreGLFBORenderTexture.h.
|
Definition at line 170 of file OgreGLFBORenderTexture.h. |
|
|
|
|
|
|
|
|
|
Bind a certain render target if it is a FBO. If it is not a FBO, bind the main frame buffer. Implements Ogre::GLRTTManager. |
|
Check if a certain format is usable as FBO rendertarget format.
Implements Ogre::GLRTTManager. Definition at line 101 of file OgreGLFBORenderTexture.h. References mProps, and Ogre::GLFBOManager::FormatProperties::valid. |
|
Create a framebuffer object.
|
|
Create a multi render target.
Reimplemented from Ogre::GLRTTManager. |
|
Create a texture rendertarget object.
Implements Ogre::GLRTTManager. |
|
Destroy a framebuffer object.
|
|
Detect allowed FBO formats.
|
|
Get best depth and stencil supported for given internalFormat.
|
|
Definition at line 69 of file OgreSingleton.h. |
|
Definition at line 71 of file OgreSingleton.h. |
|
Get the closest supported alternative format. If format is supported, returns format. |
|
Get a FBO without depth/stencil for temporary use, like blitting between textures.
Definition at line 105 of file OgreGLFBORenderTexture.h. References mTempFBO. |
|
Release a render buffer. Ignore silently if surface.buffer is 0. |
|
Request the specify render buffer in case shared somewhere. Ignore silently if surface.buffer is 0. |
|
Request a render buffer. If format is GL_NONE, return a zero buffer. |
|
Definition at line 57 of file OgreSingleton.h. |
|
Unbind a certain render target. No-op for FBOs. Implements Ogre::GLRTTManager. Definition at line 66 of file OgreGLFBORenderTexture.h. |
|
Buggy ATI driver?
Definition at line 179 of file OgreGLFBORenderTexture.h. |
|
Properties for all internal formats defined by OGRE.
Definition at line 125 of file OgreGLFBORenderTexture.h. Referenced by checkFormat(). |
|
Definition at line 171 of file OgreGLFBORenderTexture.h. |
|
Definition at line 54 of file OgreSingleton.h. |
|
Temporary FBO identifier.
Definition at line 176 of file OgreGLFBORenderTexture.h. Referenced by getTemporaryFBO(). |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Nov 12 10:59:31 2006