OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Simple, copying manager/factory for RenderTextures. More...
#include <OgreGLCopyingRenderTexture.h>
Public Member Functions | |
void | bind (RenderTarget *target) |
Bind a certain render target. More... | |
bool | checkFormat (PixelFormat format) |
virtual MultiRenderTarget * | createMultiRenderTarget (const String &name) |
Create a multi render target. More... | |
RenderTexture * | createRenderTexture (const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa) |
Create a texture rendertarget object. More... | |
virtual void | getBestDepthStencil (PixelFormat internalFormat, uint32 *depthFormat, uint32 *stencilFormat) |
PixelFormat | getSupportedAlternative (PixelFormat format) |
Get the closest supported alternative format. More... | |
void | releaseRenderBuffer (const GLSurfaceDesc &surface) |
Release a render buffer. More... | |
void | unbind (RenderTarget *target) |
Unbind a certain render target. More... | |
Static Public Member Functions | |
static GLRTTManager & | getSingleton (void) |
Get the singleton instance. More... | |
static GLRTTManager * | getSingletonPtr (void) |
Get the singleton instance. More... | |
Simple, copying manager/factory for RenderTextures.
This is only used as the last fallback if both PBuffers and FBOs aren't supported.
|
inlinevirtual |
Create a texture rendertarget object.
Implements Ogre::GLRTTManager.
|
inline |
|
inlinevirtual |
Bind a certain render target.
Implements Ogre::GLRTTManager.
|
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.
|
inherited |
Release a render buffer.
Ignore silently if surface.buffer is 0.
|
inlinevirtualinherited |
Reimplemented in Ogre::GLES2FBOManager.
|
virtualinherited |
Create a multi render target.
Reimplemented in Ogre::GLES2FBOManager, Ogre::GLFBOManager, and Ogre::GL3PlusFBOManager.
|
inherited |
Get the closest supported alternative format.
If format is supported, returns format.
|
staticinherited |
Get the singleton instance.
|
staticinherited |
Get the singleton instance.