C# Class Axiom.RenderSystems.OpenGLES.GLESContext

Class that encapsulates an GL context. (IE a window/pbuffer). This is a virtual base class which should be implemented in a GLES2Support. This object can also be used to cache renderstate if we decide to do so in the future.
Show file Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
_initialized bool

Public Methods

Method Description
Clone ( ) : GLESContext

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

Dispose ( ) : void

EndCurrent ( ) : void

This is called before another context is made current. By default, nothing is done here.

GLESContext ( ) : System

SetCurrent ( ) : void

Enable the context. All subsequent rendering commands will go here.

Method Details

Clone() public abstract method

Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads.
public abstract Clone ( ) : GLESContext
return GLESContext

Dispose() public abstract method

public abstract Dispose ( ) : void
return void

EndCurrent() public abstract method

This is called before another context is made current. By default, nothing is done here.
public abstract EndCurrent ( ) : void
return void

GLESContext() public method

public GLESContext ( ) : System
return System

SetCurrent() public abstract method

Enable the context. All subsequent rendering commands will go here.
public abstract SetCurrent ( ) : void
return void

Property Details

_initialized protected property

protected bool _initialized
return bool