![]() |
OGRE
master
Object-Oriented Graphics Rendering Engine
|
Simple, copying manager/factory for RenderTextures. More...
#include <OgreGLCopyingRenderTexture.h>
Inheritance diagram for Ogre::GLCopyingRTTManager:Public Member Functions | |
| void | bind (RenderTarget *target) override |
| Bind a certain render target. More... | |
| bool | checkFormat (PixelFormat format) |
| RenderTexture * | createRenderTexture (const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa) override |
| Create a texture rendertarget object. More... | |
| void | unbind (RenderTarget *target) override |
| Unbind a certain render target. More... | |
Public Member Functions inherited from Ogre::GLRTTManager | |
| GLRTTManager () | |
| virtual | ~GLRTTManager () |
| bool | checkFormat (PixelFormat format) |
| Check if a certain format is usable as FBO rendertarget format. More... | |
| virtual GLSurfaceDesc | createNewRenderBuffer (unsigned format, uint32 width, uint32 height, uint fsaa) |
| Creates a new render buffer. More... | |
| virtual void | getBestDepthStencil (PixelFormat internalFormat, uint32 *depthFormat, uint32 *stencilFormat) |
| PixelFormat | getSupportedAlternative (PixelFormat format) |
| Get the closest supported alternative format. More... | |
| void | releaseRenderBuffer (const GLSurfaceDesc &surface) |
| Release a render buffer. More... | |
| GLSurfaceDesc | requestRenderBuffer (unsigned format, uint32 width, uint32 height, uint fsaa) |
| Request a render buffer. More... | |
Public Member Functions inherited from Ogre::Singleton< GLRTTManager > | |
| Singleton (void) | |
| ~Singleton (void) | |
Additional Inherited Members | |
Static Public Member Functions inherited from Ogre::GLRTTManager | |
| static GLRTTManager & | getSingleton (void) |
| Get the singleton instance. More... | |
| static GLRTTManager * | getSingletonPtr (void) |
| Get the singleton instance. More... | |
Static Public Member Functions inherited from Ogre::Singleton< GLRTTManager > | |
| static GLRTTManager & | getSingleton (void) |
| Get the singleton instance. More... | |
| static GLRTTManager * | getSingletonPtr (void) |
| Get the singleton instance. More... | |
Simple, copying manager/factory for RenderTextures.
This is only used as the last fallback if both PBuffers and FBOs aren't supported.
|
inlineoverridevirtual |
Create a texture rendertarget object.
Implements Ogre::GLRTTManager.
|
inline |
|
inlineoverridevirtual |
|
overridevirtual |
Unbind a certain render target.
This is called before binding another RenderTarget, and before the context is switched. It can be used to do a copy, or just be a noop if direct binding is used.
Reimplemented from Ogre::GLRTTManager.