#include <OgreGLPBRenderTexture.h>
Inheritance diagram for Ogre::GLPBRTTManager:
Public Member Functions | |
GLPBRTTManager (GLSupport *support, RenderTarget *mainwindow) | |
virtual | ~GLPBRTTManager () |
virtual RenderTexture * | createRenderTexture (const String &name, const GLSurfaceDesc &target) |
| |
virtual bool | checkFormat (PixelFormat format) |
| |
virtual void | bind (RenderTarget *target) |
| |
virtual void | unbind (RenderTarget *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. | |
void | requestPBuffer (PixelComponentType ctype, size_t width, size_t height) |
Create PBuffer for a certain pixel format and size. | |
void | releasePBuffer (PixelComponentType ctype) |
Release PBuffer for a certain pixel format. | |
GLContext * | getContextFor (PixelComponentType ctype, size_t width, size_t height) |
Get GL rendering context for a certain component type and size. | |
virtual MultiRenderTarget * | createMultiRenderTarget (const String &name) |
Create a multi render target. | |
virtual PixelFormat | getSupportedAlternative (PixelFormat format) |
Get the closest supported alternative format. | |
Static Public Member Functions | |
GLRTTManager & | getSingleton (void) |
GLRTTManager * | getSingletonPtr (void) |
Protected Attributes | |
GLSupport * | mSupport |
GLSupport reference, used to create PBuffers. | |
RenderTarget * | mMainWindow |
Primary window reference. | |
GLContext * | mMainContext |
Primary window context. | |
PBRef | mPBuffers [PCT_COUNT] |
Type to map each component type to a PBuffer. | |
Static Protected Attributes | |
GLRTTManager * | ms_Singleton |
Definition at line 50 of file OgreGLPBRenderTexture.h.
|
|
|
|
|
Implements Ogre::GLRTTManager. |
|
Implements Ogre::GLRTTManager. |
|
Create a multi render target.
Reimplemented in Ogre::GLFBOManager. |
|
Implements Ogre::GLRTTManager. |
|
Get GL rendering context for a certain component type and size.
|
|
Definition at line 69 of file OgreSingleton.h. |
|
Definition at line 71 of file OgreSingleton.h. |
|
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.
|
|
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. |
|
Primary window context.
Definition at line 89 of file OgreGLPBRenderTexture.h. |
|
Primary window reference.
Definition at line 87 of file OgreGLPBRenderTexture.h. |
|
Type to map each component type to a PBuffer.
Definition at line 98 of file OgreGLPBRenderTexture.h. |
|
Definition at line 54 of file OgreSingleton.h. |
|
GLSupport reference, used to create PBuffers.
Definition at line 85 of file OgreGLPBRenderTexture.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:53:03 2006