OGRE
2.2.4
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. More... | |
virtual bool | checkFormat (PixelFormat format)=0 |
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 GL3PlusSurfaceDesc &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 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.