OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::GLES2FBORenderTexture Class Reference

RenderTexture for GL ES 2 FBO. More...

#include <OgreGLES2FBORenderTexture.h>

+ Inheritance diagram for Ogre::GLES2FBORenderTexture:
+ Collaboration diagram for Ogre::GLES2FBORenderTexture:

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

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

Member Function Documentation

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

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

virtual void Ogre::GLES2FBORenderTexture::detachDepthBuffer ( )
virtual void Ogre::GLES2FBORenderTexture::getCustomAttribute ( const String name,
void *  pData 
virtual void Ogre::GLES2FBORenderTexture::notifyOnContextLost ( )
virtual void Ogre::GLES2FBORenderTexture::notifyOnContextReset ( )
virtual void Ogre::GLES2FBORenderTexture::swapBuffers ( )

Override needed to deal with multisample buffers.

Member Data Documentation

GLES2FrameBufferObject Ogre::GLES2FBORenderTexture::mFB

Definition at line 57 of file OgreGLES2FBORenderTexture.h.

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