Simple, copying manager/factory for RenderTextures. More...
#include <OgreGLESRenderTexture.h>
Public Member Functions | |
GLESCopyingRTTManager () | |
virtual | ~GLESCopyingRTTManager () |
virtual RenderTexture * | createRenderTexture (const String &name, const GLESSurfaceDesc &target, bool writeGamma, uint fsaa) |
virtual bool | checkFormat (PixelFormat format) |
virtual void | bind (RenderTarget *target) |
virtual void | unbind (RenderTarget *target) |
virtual void | getBestDepthStencil (GLenum internalFormat, GLenum *depthFormat, GLenum *stencilFormat) |
virtual MultiRenderTarget * | createMultiRenderTarget (const String &name) |
Create a multi render target. | |
virtual PixelFormat | getSupportedAlternative (PixelFormat format) |
Get the closest supported alternative format. | |
Static Public Member Functions | |
static GLESRTTManager & | getSingleton (void) |
static GLESRTTManager * | getSingletonPtr (void) |
Static Protected Attributes | |
static GLESRTTManager * | msSingleton |
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 117 of file OgreGLESRenderTexture.h.
virtual Ogre::GLESCopyingRTTManager::~GLESCopyingRTTManager | ( | ) | [virtual] |
virtual void Ogre::GLESCopyingRTTManager::bind | ( | RenderTarget * | target | ) | [virtual] |
Bind a certain render target.
Implements Ogre::GLESRTTManager.
virtual bool Ogre::GLESCopyingRTTManager::checkFormat | ( | PixelFormat | format | ) | [virtual] |
Check if a certain format is usable as rendertexture format.
Implements Ogre::GLESRTTManager.
virtual MultiRenderTarget* Ogre::GLESRTTManager::createMultiRenderTarget | ( | const String & | name | ) | [virtual, inherited] |
Create a multi render target.
Reimplemented in Ogre::GLESFBOManager.
virtual RenderTexture* Ogre::GLESCopyingRTTManager::createRenderTexture | ( | const String & | name, |
const GLESSurfaceDesc & | target, | ||
bool | writeGamma, | ||
uint | fsaa | ||
) | [virtual] |
Create a texture rendertarget object.
Implements Ogre::GLESRTTManager.
virtual void Ogre::GLESRTTManager::getBestDepthStencil | ( | GLenum | internalFormat, |
GLenum * | depthFormat, | ||
GLenum * | stencilFormat | ||
) | [virtual, inherited] |
Reimplemented in Ogre::GLESFBOManager.
Definition at line 85 of file OgreGLESRenderTexture.h.
References GL_NONE.
static GLESRTTManager & Ogre::Singleton< GLESRTTManager >::getSingleton | ( | void | ) | [static, inherited] |
Definition at line 90 of file OgreSingleton.h.
static GLESRTTManager * Ogre::Singleton< GLESRTTManager >::getSingletonPtr | ( | void | ) | [static, inherited] |
Definition at line 92 of file OgreSingleton.h.
virtual PixelFormat Ogre::GLESRTTManager::getSupportedAlternative | ( | PixelFormat | format | ) | [virtual, inherited] |
Get the closest supported alternative format.
If format is supported, returns format.
virtual void Ogre::GLESCopyingRTTManager::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::GLESRTTManager.
GLESRTTManager * Ogre::Singleton< GLESRTTManager >::msSingleton [static, protected, inherited] |
Definition at line 75 of file OgreSingleton.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Sun Sep 2 2012 07:27:59