Public Member Functions | Protected Member Functions | Protected Attributes
Ogre::GLES2FBORenderTexture Class Reference

RenderTexture for GL ES 2 FBO. More...

#include <OgreGLES2FBORenderTexture.h>

List of all members.

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.
virtual void detachDepthBuffer ()
virtual void getCustomAttribute (const String &name, void *pData)
virtual void swapBuffers ()
 Override needed to deal with multisample buffers.

Protected Member Functions

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

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 bool Ogre::GLES2FBORenderTexture::attachDepthBuffer ( DepthBuffer depthBuffer) [virtual]

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

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

Override needed to deal with multisample buffers.


Member Data Documentation

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 Mon Jul 27 2020 13:41:06