C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_initialized bool

Открытые методы

Метод Описание
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.

Описание методов

Clone() публичный абстрактный Метод

Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads.
public abstract Clone ( ) : GLESContext
Результат GLESContext

Dispose() публичный абстрактный Метод

public abstract Dispose ( ) : void
Результат void

EndCurrent() публичный абстрактный Метод

This is called before another context is made current. By default, nothing is done here.
public abstract EndCurrent ( ) : void
Результат void

GLESContext() публичный Метод

public GLESContext ( ) : System
Результат System

SetCurrent() публичный абстрактный Метод

Enable the context. All subsequent rendering commands will go here.
public abstract SetCurrent ( ) : void
Результат void

Описание свойств

_initialized защищенное свойство

protected bool _initialized
Результат bool