C# Class OpenTK.Platform.X11.X11GLContext

Provides methods to create and control an opengl context on the X11 platform. This class supports OpenTK, and is not intended for use by OpenTK programs.
Inheritance: DesktopGraphicsContext
Afficher le fichier Open project: andykorth/opentk Class Usage Examples

Private Properties

Свойство Type Description
Dispose void
SelectVisual XVisualInfo
SupportsExtension bool

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetAddress ( string function ) : IntPtr
LoadAll ( ) : void
MakeCurrent ( IWindowInfo window ) : void
SwapBuffers ( ) : void
X11GLContext ( ContextHandle handle, IWindowInfo window, IGraphicsContext shared, bool direct, int major, int minor, GraphicsContextFlags flags ) : System
X11GLContext ( OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, IGraphicsContext shared, bool direct, int major, int minor, GraphicsContextFlags flags ) : System

Private Methods

Méthode Description
Dispose ( bool manuallyCalled ) : void
SelectVisual ( OpenTK.Graphics.GraphicsMode mode, X11WindowInfo currentWindow ) : XVisualInfo
SupportsExtension ( X11WindowInfo window, string e ) : bool

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetAddress() public méthode

public GetAddress ( string function ) : IntPtr
function string
Résultat System.IntPtr

LoadAll() public méthode

public LoadAll ( ) : void
Résultat void

MakeCurrent() public méthode

public MakeCurrent ( IWindowInfo window ) : void
window IWindowInfo
Résultat void

SwapBuffers() public méthode

public SwapBuffers ( ) : void
Résultat void

X11GLContext() public méthode

public X11GLContext ( ContextHandle handle, IWindowInfo window, IGraphicsContext shared, bool direct, int major, int minor, GraphicsContextFlags flags ) : System
handle ContextHandle
window IWindowInfo
shared IGraphicsContext
direct bool
major int
minor int
flags GraphicsContextFlags
Résultat System

X11GLContext() public méthode

public X11GLContext ( OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, IGraphicsContext shared, bool direct, int major, int minor, GraphicsContextFlags flags ) : System
mode OpenTK.Graphics.GraphicsMode
window IWindowInfo
shared IGraphicsContext
direct bool
major int
minor int
flags GraphicsContextFlags
Résultat System