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.
Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Свойство Type Description
_initialized bool

Méthodes publiques

Méthode 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 méthode

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

Dispose() public abstract méthode

public abstract Dispose ( ) : void
Résultat void

EndCurrent() public abstract méthode

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

GLESContext() public méthode

public GLESContext ( ) : System
Résultat System

SetCurrent() public abstract méthode

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

Property Details

_initialized protected_oe property

protected bool _initialized
Résultat bool