![]() |
OGRE
master
Object-Oriented Graphics Rendering Engine
|
Manager for rendertextures and PBuffers (offscreen rendering contexts) More...
#include <OgreGLPBRenderTexture.h>
Inheritance diagram for Ogre::GLPBRTTManager:Public Member Functions | |
| GLPBRTTManager (GLNativeSupport *support, RenderTarget *mainwindow) | |
| virtual | ~GLPBRTTManager () |
| void | bind (RenderTarget *target) override |
| Bind a certain render target. More... | |
| virtual bool | checkFormat (PixelFormat format) |
| Check if a certain format is usable as FBO rendertarget format. More... | |
| RenderTexture * | createRenderTexture (const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa) override |
| Create a texture rendertarget object. More... | |
| GLContext * | getContextFor (PixelComponentType ctype, uint32 width, uint32 height) |
| Get GL rendering context for a certain component type and size. More... | |
| void | releasePBuffer (PixelComponentType ctype) |
| Release PBuffer for a certain pixel format. More... | |
| void | requestPBuffer (PixelComponentType ctype, uint32 width, uint32 height) |
| Create PBuffer for a certain pixel format and size. More... | |
| void | unbind (RenderTarget *target) override |
| Unbind a certain render target. More... | |
Public Member Functions inherited from Ogre::GLRTTManager | |
| GLRTTManager () | |
| virtual | ~GLRTTManager () |
| bool | checkFormat (PixelFormat format) |
| Check if a certain format is usable as FBO rendertarget format. More... | |
| virtual GLSurfaceDesc | createNewRenderBuffer (unsigned format, uint32 width, uint32 height, uint fsaa) |
| Creates a new render buffer. 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... | |
| GLSurfaceDesc | requestRenderBuffer (unsigned format, uint32 width, uint32 height, uint fsaa) |
| Request a render buffer. More... | |
Public Member Functions inherited from Ogre::Singleton< GLRTTManager > | |
| Singleton (void) | |
| ~Singleton (void) | |
Additional Inherited Members | |
Static Public Member Functions inherited from Ogre::GLRTTManager | |
| static GLRTTManager & | getSingleton (void) |
| Get the singleton instance. More... | |
| static GLRTTManager * | getSingletonPtr (void) |
| Get the singleton instance. More... | |
Static Public Member Functions inherited from Ogre::Singleton< GLRTTManager > | |
| static GLRTTManager & | getSingleton (void) |
| Get the singleton instance. More... | |
| static GLRTTManager * | getSingletonPtr (void) |
| Get the singleton instance. More... | |
Manager for rendertextures and PBuffers (offscreen rendering contexts)
| Ogre::GLPBRTTManager::GLPBRTTManager | ( | GLNativeSupport * | support, |
| RenderTarget * | mainwindow | ||
| ) |
|
virtual |
|
overridevirtual |
Create a texture rendertarget object.
Implements Ogre::GLRTTManager.
|
virtual |
Check if a certain format is usable as FBO rendertarget format.
|
overridevirtual |
|
overridevirtual |
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.
Reimplemented from Ogre::GLRTTManager.
| void Ogre::GLPBRTTManager::requestPBuffer | ( | PixelComponentType | ctype, |
| uint32 | width, | ||
| uint32 | height | ||
| ) |
Create PBuffer for a certain pixel format and size.
| void Ogre::GLPBRTTManager::releasePBuffer | ( | PixelComponentType | ctype | ) |
Release PBuffer for a certain pixel format.
| GLContext* Ogre::GLPBRTTManager::getContextFor | ( | PixelComponentType | ctype, |
| uint32 | width, | ||
| uint32 | height | ||
| ) |
Get GL rendering context for a certain component type and size.