Simple, copying manager/factory for RenderTextures. More...
#include <OgreGLRenderTexture.h>
Public Member Functions | |
GLCopyingRTTManager () | |
virtual | ~GLCopyingRTTManager () |
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 MultiRenderTarget * | createMultiRenderTarget (const String &name) |
Create a multi render target. More... | |
virtual RenderTexture * | createRenderTexture (const String &name, const GLSurfaceDesc &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 GLRTTManager & | getSingleton (void) |
static GLRTTManager * | getSingletonPtr (void) |
Static Protected Attributes | |
static GLRTTManager * | 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 OgreGLRenderTexture.h.
Ogre::GLCopyingRTTManager::GLCopyingRTTManager | ( | ) |
|
virtual |
|
virtual |
Bind a certain render target.
Implements Ogre::GLRTTManager.
|
virtual |
Check if a certain format is usable as rendertexture format.
Implements Ogre::GLRTTManager.
|
virtualinherited |
Create a multi render target.
Reimplemented in Ogre::GLFBOManager.
|
virtual |
Create a texture rendertarget object.
Implements Ogre::GLRTTManager.
|
inlinevirtualinherited |
Reimplemented in Ogre::GLFBOManager.
Definition at line 87 of file OgreGLRenderTexture.h.
References GL_NONE.
|
inlinestaticinherited |
Definition at line 90 of file OgreSingleton.h.
|
inlinestaticinherited |
Definition at line 92 of file OgreSingleton.h.
|
virtualinherited |
Get the closest supported alternative format.
If format is supported, returns format.
|
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::GLRTTManager.
|
staticprotectedinherited |
Definition at line 75 of file OgreSingleton.h.