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
Mostra file Open project: andykorth/opentk Class Usage Examples

Private Properties

Property Type Description
Dispose void
SelectVisual XVisualInfo
SupportsExtension bool

Public Methods

Method 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

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetAddress() public method

public GetAddress ( string function ) : IntPtr
function string
return System.IntPtr

LoadAll() public method

public LoadAll ( ) : void
return void

MakeCurrent() public method

public MakeCurrent ( IWindowInfo window ) : void
window IWindowInfo
return void

SwapBuffers() public method

public SwapBuffers ( ) : void
return void

X11GLContext() public method

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
return System

X11GLContext() public method

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
return System