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

Manager/factory for RenderTextures. More...

#include <OgreGL3PlusRenderTexture.h>

+ Inheritance diagram for Ogre::GL3PlusRTTManager:
+ Collaboration diagram for Ogre::GL3PlusRTTManager:

Public Member Functions

virtual ~GL3PlusRTTManager ()
virtual void bind (RenderTarget *target)=0
 Bind a certain render target. More...
virtual bool checkFormat (PixelFormat format)=0
 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 GL3PlusSurfaceDesc &target, bool writeGamma, uint fsaa)=0
 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)=0
 Unbind a certain render target. More...

Static Public Member Functions

static GL3PlusRTTManagergetSingleton (void)
static GL3PlusRTTManagergetSingletonPtr (void)

Static Protected Attributes

static GL3PlusRTTManagermsSingleton

Detailed Description

Manager/factory for RenderTextures.

Definition at line 65 of file OgreGL3PlusRenderTexture.h.

Constructor & Destructor Documentation

virtual Ogre::GL3PlusRTTManager::~GL3PlusRTTManager ( )

Member Function Documentation

virtual void Ogre::GL3PlusRTTManager::bind ( RenderTarget target)
pure virtual

Bind a certain render target.

Implemented in Ogre::GL3PlusFBOManager.

virtual bool Ogre::GL3PlusRTTManager::checkFormat ( PixelFormat  format)
pure virtual

Check if a certain format is usable as rendertexture format.

Implemented in Ogre::GL3PlusFBOManager.

virtual MultiRenderTarget* Ogre::GL3PlusRTTManager::createMultiRenderTarget ( const String name)

Create a multi render target.

Reimplemented in Ogre::GL3PlusFBOManager.

virtual RenderTexture* Ogre::GL3PlusRTTManager::createRenderTexture ( const String name,
const GL3PlusSurfaceDesc target,
bool  writeGamma,
uint  fsaa 
pure virtual

Create a texture rendertarget object.

Implemented in Ogre::GL3PlusFBOManager.

virtual void Ogre::GL3PlusRTTManager::getBestDepthStencil ( GLenum  internalFormat,
GLenum *  depthFormat,
GLenum *  stencilFormat 

Reimplemented in Ogre::GL3PlusFBOManager.

Definition at line 88 of file OgreGL3PlusRenderTexture.h.

References GL_NONE.

static GL3PlusRTTManager & Ogre::Singleton< GL3PlusRTTManager >::getSingleton ( void  )

Definition at line 90 of file OgreSingleton.h.

static GL3PlusRTTManager * Ogre::Singleton< GL3PlusRTTManager >::getSingletonPtr ( void  )

Definition at line 92 of file OgreSingleton.h.

virtual PixelFormat Ogre::GL3PlusRTTManager::getSupportedAlternative ( PixelFormat  format)

Get the closest supported alternative format.

If format is supported, returns format.

virtual void Ogre::GL3PlusRTTManager::unbind ( RenderTarget target)
pure 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.

Implemented in Ogre::GL3PlusFBOManager.

Member Data Documentation

GL3PlusRTTManager * Ogre::Singleton< GL3PlusRTTManager >::msSingleton

Definition at line 75 of file OgreSingleton.h.

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