OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
Factory for GL ES 2 Frame Buffer Objects, and related things. More...
#include <OgreGLES2FBORenderTexture.h>
Public Member Functions | |
GLES2FBOManager () | |
~GLES2FBOManager () | |
void | _reload () |
Detects all supported fbo's and recreates the tempory fbo. More... | |
void | bind (RenderTarget *target) override |
Bind a certain render target if it is a FBO. More... | |
GLES2FBORenderTexture * | createRenderTexture (const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa) override |
Create a texture rendertarget object. More... | |
void | getBestDepthStencil (PixelFormat internalFormat, uint32 *depthFormat, uint32 *stencilFormat) override |
Get best depth and stencil supported for given internalFormat. More... | |
GLint | getMaxFSAASamples () |
GLuint | getTemporaryFBO () |
Get a FBO without depth/stencil for temporary use, like blitting between textures. More... | |
GLSurfaceDesc | requestRenderBuffer (GLenum format, uint32 width, uint32 height, uint fsaa) |
Request a render buffer. 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... | |
PixelFormat | getSupportedAlternative (PixelFormat format) |
Get the closest supported alternative format. More... | |
void | releaseRenderBuffer (const GLSurfaceDesc &surface) |
Release a render buffer. More... | |
virtual void | unbind (RenderTarget *target) |
Unbind a certain render target. 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... | |
Factory for GL ES 2 Frame Buffer Objects, and related things.
Ogre::GLES2FBOManager::GLES2FBOManager | ( | ) |
Ogre::GLES2FBOManager::~GLES2FBOManager | ( | ) |
|
overridevirtual |
Bind a certain render target if it is a FBO.
If it is not a FBO, bind the main frame buffer.
Reimplemented from Ogre::GLRTTManager.
|
overridevirtual |
Get best depth and stencil supported for given internalFormat.
Reimplemented from Ogre::GLRTTManager.
|
overridevirtual |
Create a texture rendertarget object.
Implements Ogre::GLRTTManager.
GLSurfaceDesc Ogre::GLES2FBOManager::requestRenderBuffer | ( | GLenum | format, |
uint32 | width, | ||
uint32 | height, | ||
uint | fsaa | ||
) |
Request a render buffer.
If format is GL_NONE, return a zero buffer.
|
inline |
Get a FBO without depth/stencil for temporary use, like blitting between textures.
void Ogre::GLES2FBOManager::_reload | ( | ) |
Detects all supported fbo's and recreates the tempory fbo.
|
inline |