OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Manager/factory for RenderTextures. More...
#include <OgreGL3PlusRenderTexture.h>
Public Member Functions | |
virtual | ~GL3PlusRTTManager () |
virtual void | bind (RenderTarget *target)=0 |
Bind a certain render target. | |
virtual bool | checkFormat (PixelFormat format)=0 |
Check if a certain format is usable as rendertexture format. | |
virtual MultiRenderTarget * | createMultiRenderTarget (const String &name) |
Create a multi render target. | |
virtual RenderTexture * | createRenderTexture (const String &name, const GL3PlusSurfaceDesc &target, bool writeGamma, uint fsaa)=0 |
Create a texture rendertarget object. | |
virtual void | getBestDepthStencil (GLenum internalFormat, GLenum *depthFormat, GLenum *stencilFormat) |
virtual PixelFormat | getSupportedAlternative (PixelFormat format) |
Get the closest supported alternative format. | |
virtual void | unbind (RenderTarget *target)=0 |
Unbind a certain render target. | |
Static Public Member Functions | |
static GL3PlusRTTManager & | getSingleton (void) |
static GL3PlusRTTManager * | getSingletonPtr (void) |
Manager/factory for RenderTextures.
|
virtual |
|
pure virtual |
Bind a certain render target.
Implemented in Ogre::GL3PlusFBOManager.
|
pure virtual |
Check if a certain format is usable as rendertexture format.
Implemented in Ogre::GL3PlusFBOManager.
|
virtual |
Create a multi render target.
Reimplemented in Ogre::GL3PlusFBOManager.
|
pure virtual |
Create a texture rendertarget object.
Implemented in Ogre::GL3PlusFBOManager.
|
inlinevirtual |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
virtual |
Get the closest supported alternative format.
If format is supported, returns format.
|
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.