OGRE 14.2
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::GL3PlusFBOManager Class Reference

Factory for GL Frame Buffer Objects, and related things. More...

#include <OgreGL3PlusFBORenderTexture.h>

+ Inheritance diagram for Ogre::GL3PlusFBOManager:

Public Member Functions

 GL3PlusFBOManager (GL3PlusRenderSystem *renderSystem)
 
 ~GL3PlusFBOManager ()
 
GL3PlusFBORenderTexturecreateRenderTexture (const String &name, const GLSurfaceDesc &target, bool writeGamma, uint fsaa) override
 Create a texture rendertarget object.
 
void getBestDepthStencil (PixelFormat internalFormat, GLenum *depthFormat, GLenum *stencilFormat) override
 Get best depth and stencil supported for given internalFormat.
 
GL3PlusStateCacheManagergetStateCacheManager ()
 
GLSurfaceDesc requestRenderBuffer (GLenum format, uint32 width, uint32 height, uint fsaa)
 Request a render buffer.
 
- Public Member Functions inherited from Ogre::GLRTTManager
 GLRTTManager ()
 
virtual ~GLRTTManager ()
 
virtual void bind (RenderTarget *target)
 Bind a certain render target.
 
bool checkFormat (PixelFormat format)
 Check if a certain format is usable as FBO rendertarget format.
 
virtual void getBestDepthStencil (PixelFormat internalFormat, uint32 *depthFormat, uint32 *stencilFormat)
 
PixelFormat getSupportedAlternative (PixelFormat format)
 Get the closest supported alternative format.
 
void releaseRenderBuffer (const GLSurfaceDesc &surface)
 Release a render buffer.
 
virtual void unbind (RenderTarget *target)
 Unbind a certain render target.
 
- Public Member Functions inherited from Ogre::Singleton< GLRTTManager >
 Singleton (void)
 
 ~Singleton (void)
 

Additional Inherited Members

- Static Public Member Functions inherited from Ogre::GLRTTManager
static GLRTTManagergetSingleton (void)
 Get the singleton instance.
 
static GLRTTManagergetSingletonPtr (void)
 Get the singleton instance.
 
- Static Public Member Functions inherited from Ogre::Singleton< GLRTTManager >
static GLRTTManagergetSingleton (void)
 Get the singleton instance.
 
static GLRTTManagergetSingletonPtr (void)
 Get the singleton instance.
 

Detailed Description

Factory for GL Frame Buffer Objects, and related things.

Constructor & Destructor Documentation

◆ GL3PlusFBOManager()

Ogre::GL3PlusFBOManager::GL3PlusFBOManager ( GL3PlusRenderSystem * renderSystem)

◆ ~GL3PlusFBOManager()

Ogre::GL3PlusFBOManager::~GL3PlusFBOManager ( )

Member Function Documentation

◆ getBestDepthStencil()

void Ogre::GL3PlusFBOManager::getBestDepthStencil ( PixelFormat internalFormat,
GLenum * depthFormat,
GLenum * stencilFormat )
override

Get best depth and stencil supported for given internalFormat.

◆ createRenderTexture()

GL3PlusFBORenderTexture * Ogre::GL3PlusFBOManager::createRenderTexture ( const String & name,
const GLSurfaceDesc & target,
bool writeGamma,
uint fsaa )
overridevirtual

Create a texture rendertarget object.

Implements Ogre::GLRTTManager.

◆ requestRenderBuffer()

GLSurfaceDesc Ogre::GL3PlusFBOManager::requestRenderBuffer ( GLenum format,
uint32 width,
uint32 height,
uint fsaa )

Request a render buffer.

If format is GL_NONE, return a zero buffer.

◆ getStateCacheManager()

GL3PlusStateCacheManager * Ogre::GL3PlusFBOManager::getStateCacheManager ( )

The documentation for this class was generated from the following file: