Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Ogre::GLCopyingRTTManager Class Reference

Simple, copying manager/factory for RenderTextures. More...

#include <OgreGLRenderTexture.h>

Inheritance diagram for Ogre::GLCopyingRTTManager:

Ogre::GLRTTManager Ogre::Singleton< GLRTTManager > List of all members.

Public Member Functions

 GLCopyingRTTManager ()
virtual ~GLCopyingRTTManager ()
virtual RenderTexturecreateRenderTexture (const String &name, const GLSurfaceDesc &target)
 

virtual bool checkFormat (PixelFormat format)
 

virtual void bind (RenderTarget *target)
 

virtual void unbind (RenderTarget *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.

virtual MultiRenderTargetcreateMultiRenderTarget (const String &name)
 Create a multi render target.

virtual PixelFormat getSupportedAlternative (PixelFormat format)
 Get the closest supported alternative format.


Static Public Member Functions

GLRTTManagergetSingleton (void)
GLRTTManagergetSingletonPtr (void)

Static Protected Attributes

GLRTTManagerms_Singleton

Detailed Description

Simple, copying manager/factory for RenderTextures.

This is only used as the last fallback if both PBuffers and FBOs aren't supported.

Definition at line 100 of file OgreGLRenderTexture.h.


Constructor & Destructor Documentation

Ogre::GLCopyingRTTManager::GLCopyingRTTManager  ) 
 

virtual Ogre::GLCopyingRTTManager::~GLCopyingRTTManager  )  [virtual]
 


Member Function Documentation

virtual void Ogre::GLCopyingRTTManager::bind RenderTarget target  )  [virtual]
 

Implements Ogre::GLRTTManager.

virtual bool Ogre::GLCopyingRTTManager::checkFormat PixelFormat  format  )  [virtual]
 

Implements Ogre::GLRTTManager.

virtual MultiRenderTarget* Ogre::GLRTTManager::createMultiRenderTarget const String name  )  [virtual, inherited]
 

Create a multi render target.

Reimplemented in Ogre::GLFBOManager.

virtual RenderTexture* Ogre::GLCopyingRTTManager::createRenderTexture const String name,
const GLSurfaceDesc target
[virtual]
 

Implements Ogre::GLRTTManager.

GLRTTManager & Ogre::Singleton< GLRTTManager >::getSingleton void   )  [static, inherited]
 

Definition at line 69 of file OgreSingleton.h.

GLRTTManager * Ogre::Singleton< GLRTTManager >::getSingletonPtr void   )  [static, inherited]
 

Definition at line 71 of file OgreSingleton.h.

virtual PixelFormat Ogre::GLRTTManager::getSupportedAlternative PixelFormat  format  )  [virtual, inherited]
 

Get the closest supported alternative format.

If format is supported, returns format.

virtual void Ogre::GLCopyingRTTManager::unbind RenderTarget target  )  [virtual]
 

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.

Implements Ogre::GLRTTManager.


Member Data Documentation

GLRTTManager * Ogre::Singleton< GLRTTManager >::ms_Singleton [static, protected, inherited]
 

Definition at line 54 of file OgreSingleton.h.


The documentation for this class was generated from the following file:

Copyright © 2000-2005 by The OGRE Team
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:53:28 2006