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

#include <OgreEAGLESContext.h>

+ Inheritance diagram for Ogre::EAGLESContext:
+ Collaboration diagram for Ogre::EAGLESContext:

Public Member Functions

virtual ~EAGLESContext ()
virtual GLESContextclone () 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 setCurrent ()
 Enable the context. More...
void setInitialized ()

Public Attributes

GLint mBackingHeight
GLint mBackingWidth
GLuint mDepthRenderbuffer
GLuint mFSAAFramebuffer
GLuint mFSAARenderbuffer
bool mIsMultiSampleSupported
GLsizei mNumSamples
GLuint mViewFramebuffer
GLuint mViewRenderbuffer

Protected Attributes

bool initialized

Detailed Description

Definition at line 40 of file OgreEAGLESContext.h.

Constructor & Destructor Documentation

virtual Ogre::EAGLESContext::~EAGLESContext ( )

Member Function Documentation

virtual GLESContext* Ogre::EAGLESContext::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::GLESContext.

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

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GLESContext.

bool Ogre::GLESContext::getInitialized ( )

Definition at line 59 of file OgreGLESContext.h.

virtual void Ogre::EAGLESContext::setCurrent ( )

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLESContext.

void Ogre::GLESContext::setInitialized ( )

Definition at line 60 of file OgreGLESContext.h.

Member Data Documentation

bool Ogre::GLESContext::initialized

Definition at line 69 of file OgreGLESContext.h.

GLint Ogre::EAGLESContext::mBackingHeight

Definition at line 65 of file OgreEAGLESContext.h.

GLint Ogre::EAGLESContext::mBackingWidth

Definition at line 64 of file OgreEAGLESContext.h.

GLuint Ogre::EAGLESContext::mDepthRenderbuffer

Definition at line 72 of file OgreEAGLESContext.h.

GLuint Ogre::EAGLESContext::mFSAAFramebuffer

Definition at line 76 of file OgreEAGLESContext.h.

GLuint Ogre::EAGLESContext::mFSAARenderbuffer

Definition at line 77 of file OgreEAGLESContext.h.

bool Ogre::EAGLESContext::mIsMultiSampleSupported

Definition at line 74 of file OgreEAGLESContext.h.

GLsizei Ogre::EAGLESContext::mNumSamples

Definition at line 75 of file OgreEAGLESContext.h.

GLuint Ogre::EAGLESContext::mViewFramebuffer

Definition at line 69 of file OgreEAGLESContext.h.

GLuint Ogre::EAGLESContext::mViewRenderbuffer

Definition at line 68 of file OgreEAGLESContext.h.

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