Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Ogre::GLES2FBORenderTexture Class Reference

RenderTexture for GL ES 2 FBO. More...

#include <OgreGLES2FBORenderTexture.h>

Inheritance diagram for Ogre::GLES2FBORenderTexture:
Inheritance graph
[legend]

Public Member Functions

 GLES2FBORenderTexture (GLES2FBOManager *manager, const String &name, const GLES2SurfaceDesc &target, bool writeGamma, uint fsaa)
 
virtual void _detachDepthBuffer ()
 
virtual bool attachDepthBuffer (DepthBuffer *depthBuffer)
 Override so we can attach the depth buffer to the FBO. More...
 
virtual void detachDepthBuffer ()
 
virtual void getCustomAttribute (const String &name, void *pData)
 
virtual void swapBuffers ()
 Override needed to deal with multisample buffers. More...
 

Protected Member Functions

virtual void notifyOnContextLost ()
 See AndroidResource. More...
 
virtual void notifyOnContextReset ()
 See AndroidResource. More...
 

Protected Attributes

GLES2FrameBufferObject mFB
 

Detailed Description

RenderTexture for GL ES 2 FBO.

Definition at line 42 of file OgreGLES2FBORenderTexture.h.

Constructor & Destructor Documentation

◆ GLES2FBORenderTexture()

Ogre::GLES2FBORenderTexture::GLES2FBORenderTexture ( GLES2FBOManager manager,
const String name,
const GLES2SurfaceDesc target,
bool  writeGamma,
uint  fsaa 
)

Member Function Documentation

◆ _detachDepthBuffer()

virtual void Ogre::GLES2FBORenderTexture::_detachDepthBuffer ( )
virtual

◆ attachDepthBuffer()

virtual bool Ogre::GLES2FBORenderTexture::attachDepthBuffer ( DepthBuffer depthBuffer)
virtual

Override so we can attach the depth buffer to the FBO.

◆ detachDepthBuffer()

virtual void Ogre::GLES2FBORenderTexture::detachDepthBuffer ( )
virtual

◆ getCustomAttribute()

virtual void Ogre::GLES2FBORenderTexture::getCustomAttribute ( const String name,
void *  pData 
)
virtual

◆ notifyOnContextLost()

virtual void Ogre::GLES2FBORenderTexture::notifyOnContextLost ( )
protectedvirtual

◆ notifyOnContextReset()

virtual void Ogre::GLES2FBORenderTexture::notifyOnContextReset ( )
protectedvirtual

◆ swapBuffers()

virtual void Ogre::GLES2FBORenderTexture::swapBuffers ( )
virtual

Override needed to deal with multisample buffers.

Member Data Documentation

◆ mFB

GLES2FrameBufferObject Ogre::GLES2FBORenderTexture::mFB
protected

Definition at line 57 of file OgreGLES2FBORenderTexture.h.


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Sun Oct 22 2017 04:04:15