#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 | 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. | |
Static Public Member Functions | |
GLRTTManager & | getSingleton (void) |
GLRTTManager * | getSingletonPtr (void) |
Static Protected Attributes | |
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) |
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? |
Definition at line 53 of file OgreGLFBORenderTexture.h.
|
Definition at line 166 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 97 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 101 of file OgreGLFBORenderTexture.h. References mTempFBO. |
|
Release a render buffer. Ignore silently if surface.buffer is 0. |
|
Request a render buffer. If format is GL_NONE, return a zero buffer. |
|
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 175 of file OgreGLFBORenderTexture.h. |
|
Properties for all internal formats defined by OGRE.
Definition at line 121 of file OgreGLFBORenderTexture.h. Referenced by checkFormat(). |
|
Definition at line 167 of file OgreGLFBORenderTexture.h. |
|
Definition at line 54 of file OgreSingleton.h. |
|
Temporary FBO identifier.
Definition at line 172 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 Mar 12 14:52:11 2006