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.
virtual Ogre::GLPBRTTManager::~GLPBRTTManager |
( |
| ) |
|
|
virtual |
virtual void Ogre::GLPBRTTManager::bind |
( |
RenderTarget * |
target | ) |
|
|
virtual |
virtual bool Ogre::GLPBRTTManager::checkFormat |
( |
PixelFormat |
format | ) |
|
|
virtual |
Check if a certain format is usable as rendertexture format.
Implements Ogre::GLRTTManager.
virtual void Ogre::GLRTTManager::getBestDepthStencil |
( |
GLenum |
internalFormat, |
|
|
GLenum * |
depthFormat, |
|
|
GLenum * |
stencilFormat |
|
) |
| |
|
inlinevirtualinherited |
Get GL rendering context for a certain component type and size.
Get the closest supported alternative format.
If format is supported, returns format.
Release PBuffer for a certain pixel format.
Create PBuffer for a certain pixel format and size.
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.
GLContext* Ogre::GLPBRTTManager::mMainContext |
|
protected |
The documentation for this class was generated from the following file: