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

#include <OgreEAGLES2Context.h>

+ Inheritance diagram for Ogre::EAGLES2Context:
+ Collaboration diagram for Ogre::EAGLES2Context:

Public Member Functions

virtual ~EAGLES2Context ()
void bindSampleFramebuffer ()
virtual GLES2Contextclone () const
 Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads. More...
bool createFramebuffer ()
void destroyFramebuffer ()
virtual void endCurrent ()
 This is called before another context is made current. More...
bool getInitialized ()
virtual void releaseContext ()
 Release the render context. More...
virtual void setCurrent ()
 Enable the context. More...
void setInitialized ()

Public Attributes

GLint mBackingHeight
GLint mBackingWidth
GLuint mDepthRenderbuffer
bool mIsMultiSampleSupported
GLsizei mNumSamples
GLuint mSampleFramebuffer
GLuint mSampleRenderbuffer
GLuint mViewFramebuffer
GLuint mViewRenderbuffer

Protected Attributes

bool initialized

Detailed Description

Definition at line 40 of file OgreEAGLES2Context.h.

Constructor & Destructor Documentation

virtual Ogre::EAGLES2Context::~EAGLES2Context ( )

Member Function Documentation

void Ogre::EAGLES2Context::bindSampleFramebuffer ( )
virtual GLES2Context* Ogre::EAGLES2Context::clone ( ) const

Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads.

The caller is responsible for deleting the returned context.

Implements Ogre::GLES2Context.

bool Ogre::EAGLES2Context::createFramebuffer ( )
void Ogre::EAGLES2Context::destroyFramebuffer ( )
virtual void Ogre::EAGLES2Context::endCurrent ( )

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GLES2Context.

bool Ogre::GLES2Context::getInitialized ( )

Definition at line 58 of file OgreGLES2Context.h.

virtual void Ogre::GLES2Context::releaseContext ( )

Release the render context.

Definition at line 70 of file OgreGLES2Context.h.

virtual void Ogre::EAGLES2Context::setCurrent ( )

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLES2Context.

void Ogre::GLES2Context::setInitialized ( )

Definition at line 59 of file OgreGLES2Context.h.

Member Data Documentation

bool Ogre::GLES2Context::initialized

Definition at line 73 of file OgreGLES2Context.h.

GLint Ogre::EAGLES2Context::mBackingHeight

Definition at line 66 of file OgreEAGLES2Context.h.

GLint Ogre::EAGLES2Context::mBackingWidth

Definition at line 65 of file OgreEAGLES2Context.h.

GLuint Ogre::EAGLES2Context::mDepthRenderbuffer

Definition at line 73 of file OgreEAGLES2Context.h.

bool Ogre::EAGLES2Context::mIsMultiSampleSupported

Definition at line 75 of file OgreEAGLES2Context.h.

GLsizei Ogre::EAGLES2Context::mNumSamples

Definition at line 76 of file OgreEAGLES2Context.h.

GLuint Ogre::EAGLES2Context::mSampleFramebuffer

Definition at line 77 of file OgreEAGLES2Context.h.

GLuint Ogre::EAGLES2Context::mSampleRenderbuffer

Definition at line 78 of file OgreEAGLES2Context.h.

GLuint Ogre::EAGLES2Context::mViewFramebuffer

Definition at line 70 of file OgreEAGLES2Context.h.

GLuint Ogre::EAGLES2Context::mViewRenderbuffer

Definition at line 69 of file OgreEAGLES2Context.h.

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