OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::GLES2CopyingRTTManager Class Reference

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

#include <OgreGLES2RenderTexture.h>

+ Inheritance diagram for Ogre::GLES2CopyingRTTManager:
+ Collaboration diagram for Ogre::GLES2CopyingRTTManager:

Public Member Functions

 GLES2CopyingRTTManager ()
 
virtual ~GLES2CopyingRTTManager ()
 
virtual void bind (RenderTarget *target)
 Bind a certain render target. More...
 
virtual bool checkFormat (PixelFormat format)
 Check if a certain format is usable as rendertexture format. More...
 
virtual MultiRenderTargetcreateMultiRenderTarget (const String &name)
 Create a multi render target. More...
 
virtual RenderTexturecreateRenderTexture (const String &name, const GLES2SurfaceDesc &target, bool writeGamma, uint fsaa)
 Create a texture rendertarget object. More...
 
virtual void getBestDepthStencil (GLenum internalFormat, GLenum *depthFormat, GLenum *stencilFormat)
 
virtual PixelFormat getSupportedAlternative (PixelFormat format)
 Get the closest supported alternative format. More...
 
virtual void unbind (RenderTarget *target)
 Unbind a certain render target. More...
 

Static Public Member Functions

static GLES2RTTManagergetSingleton (void)
 
static GLES2RTTManagergetSingletonPtr (void)
 

Static Protected Attributes

static GLES2RTTManagermsSingleton
 

Detailed Description

Simple, copying manager/factory for RenderTextures.

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

Definition at line 116 of file OgreGLES2RenderTexture.h.

Constructor & Destructor Documentation

Ogre::GLES2CopyingRTTManager::GLES2CopyingRTTManager ( )
virtual Ogre::GLES2CopyingRTTManager::~GLES2CopyingRTTManager ( )
virtual

Member Function Documentation

virtual void Ogre::GLES2CopyingRTTManager::bind ( RenderTarget target)
virtual

Bind a certain render target.

Implements Ogre::GLES2RTTManager.

virtual bool Ogre::GLES2CopyingRTTManager::checkFormat ( PixelFormat  format)
virtual

Check if a certain format is usable as rendertexture format.

Implements Ogre::GLES2RTTManager.

virtual MultiRenderTarget* Ogre::GLES2RTTManager::createMultiRenderTarget ( const String name)
virtualinherited

Create a multi render target.

Reimplemented in Ogre::GLES2FBOManager.

virtual RenderTexture* Ogre::GLES2CopyingRTTManager::createRenderTexture ( const String name,
const GLES2SurfaceDesc target,
bool  writeGamma,
uint  fsaa 
)
virtual

Create a texture rendertarget object.

Implements Ogre::GLES2RTTManager.

virtual void Ogre::GLES2RTTManager::getBestDepthStencil ( GLenum  internalFormat,
GLenum *  depthFormat,
GLenum *  stencilFormat 
)
inlinevirtualinherited

Reimplemented in Ogre::GLES2FBOManager.

Definition at line 84 of file OgreGLES2RenderTexture.h.

References GL_NONE.

static GLES2RTTManager & Ogre::Singleton< GLES2RTTManager >::getSingleton ( void  )
inlinestaticinherited

Definition at line 90 of file OgreSingleton.h.

static GLES2RTTManager * Ogre::Singleton< GLES2RTTManager >::getSingletonPtr ( void  )
inlinestaticinherited

Definition at line 92 of file OgreSingleton.h.

virtual PixelFormat Ogre::GLES2RTTManager::getSupportedAlternative ( PixelFormat  format)
virtualinherited

Get the closest supported alternative format.

If format is supported, returns format.

virtual void Ogre::GLES2CopyingRTTManager::unbind ( RenderTarget target)
virtual

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.

Implements Ogre::GLES2RTTManager.

Member Data Documentation

GLES2RTTManager * Ogre::Singleton< GLES2RTTManager >::msSingleton
staticprotectedinherited

Definition at line 75 of file OgreSingleton.h.


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