Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
Ogre::GLESRTTManager Class Referenceabstract

Manager/factory for RenderTextures. More...

#include <OgreGLESRenderTexture.h>

Inheritance diagram for Ogre::GLESRTTManager:
Inheritance graph
[legend]

Public Member Functions

virtual ~GLESRTTManager ()
 
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 GLESSurfaceDesc &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 GLESRTTManagergetSingleton (void)
 
static GLESRTTManagergetSingletonPtr (void)
 

Static Protected Attributes

static GLESRTTManagermsSingleton
 

Detailed Description

Manager/factory for RenderTextures.

Definition at line 62 of file OgreGLESRenderTexture.h.

Constructor & Destructor Documentation

◆ ~GLESRTTManager()

virtual Ogre::GLESRTTManager::~GLESRTTManager ( )
virtual

Member Function Documentation

◆ bind()

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

Bind a certain render target.

Implemented in Ogre::GLESCopyingRTTManager, Ogre::GLESFBOManager, and Ogre::GLESPBRTTManager.

◆ checkFormat()

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

Check if a certain format is usable as rendertexture format.

Implemented in Ogre::GLESCopyingRTTManager, Ogre::GLESFBOManager, and Ogre::GLESPBRTTManager.

◆ createMultiRenderTarget()

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

Create a multi render target.

Reimplemented in Ogre::GLESFBOManager.

◆ createRenderTexture()

virtual RenderTexture* Ogre::GLESRTTManager::createRenderTexture ( const String name,
const GLESSurfaceDesc target,
bool  writeGamma,
uint  fsaa 
)
pure virtual

Create a texture rendertarget object.

Implemented in Ogre::GLESCopyingRTTManager, Ogre::GLESFBOManager, and Ogre::GLESPBRTTManager.

◆ getBestDepthStencil()

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

Reimplemented in Ogre::GLESFBOManager.

Definition at line 85 of file OgreGLESRenderTexture.h.

References GL_NONE.

◆ getSingleton()

static GLESRTTManager & Ogre::Singleton< GLESRTTManager >::getSingleton ( void  )
staticinherited

Definition at line 90 of file OgreSingleton.h.

◆ getSingletonPtr()

static GLESRTTManager * Ogre::Singleton< GLESRTTManager >::getSingletonPtr ( void  )
staticinherited

Definition at line 92 of file OgreSingleton.h.

◆ getSupportedAlternative()

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

Get the closest supported alternative format.

If format is supported, returns format.

◆ unbind()

virtual void Ogre::GLESRTTManager::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::GLESCopyingRTTManager, Ogre::GLESFBOManager, and Ogre::GLESPBRTTManager.

Member Data Documentation

◆ msSingleton

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

Definition at line 75 of file OgreSingleton.h.


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15