Manager for rendertextures and PBuffers (offscreen rendering contexts)
More...
#include <OgreGLPBRenderTexture.h>
|
| | GLPBRTTManager (GLSupport *support, RenderTarget *mainwindow) |
| |
| virtual | ~GLPBRTTManager () |
| |
| 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) |
| |
| GLContext * | getContextFor (PixelComponentType ctype, uint32 width, uint32 height) |
| | Get GL rendering context for a certain component type and size. More...
|
| |
| virtual PixelFormat | getSupportedAlternative (PixelFormat format) |
| | Get the closest supported alternative format. 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...
|
| |
| virtual void | unbind (RenderTarget *target) |
| | Unbind a certain render target. More...
|
| |
Manager for rendertextures and PBuffers (offscreen rendering contexts)
Definition at line 53 of file OgreGLPBRenderTexture.h.
◆ GLPBRTTManager()
◆ ~GLPBRTTManager()
| virtual Ogre::GLPBRTTManager::~GLPBRTTManager |
( |
| ) |
|
|
virtual |
◆ bind()
| virtual void Ogre::GLPBRTTManager::bind |
( |
RenderTarget * |
target | ) |
|
|
virtual |
◆ checkFormat()
| virtual bool Ogre::GLPBRTTManager::checkFormat |
( |
PixelFormat |
format | ) |
|
|
virtual |
Check if a certain format is usable as rendertexture format.
Implements Ogre::GLRTTManager.
◆ createMultiRenderTarget()
◆ createRenderTexture()
◆ getBestDepthStencil()
| virtual void Ogre::GLRTTManager::getBestDepthStencil |
( |
GLenum |
internalFormat, |
|
|
GLenum * |
depthFormat, |
|
|
GLenum * |
stencilFormat |
|
) |
| |
|
virtualinherited |
◆ getContextFor()
Get GL rendering context for a certain component type and size.
◆ getSingleton()
◆ getSingletonPtr()
◆ getSupportedAlternative()
Get the closest supported alternative format.
If format is supported, returns format.
◆ releasePBuffer()
Release PBuffer for a certain pixel format.
◆ requestPBuffer()
Create PBuffer for a certain pixel format and size.
◆ unbind()
| virtual void Ogre::GLPBRTTManager::unbind |
( |
RenderTarget * |
target | ) |
|
|
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.
◆ mMainContext
| GLContext* Ogre::GLPBRTTManager::mMainContext |
|
protected |
◆ mMainWindow
◆ mPBuffers
◆ msSingleton
◆ mSupport
The documentation for this class was generated from the following file: