C# Class OpenTK.Platform.Windows.WinGLContext

Provides methods to create and control an opengl context on the Windows 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
DestroyContext void
Dispose void
Init void
SetGraphicsModePFD void
WinGLContext System

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetAddress ( string function_string ) : IntPtr
LoadAll ( ) : void
MakeCurrent ( IWindowInfo window ) : void
SwapBuffers ( ) : void
ToString ( ) : string

Returns a System.String describing this OpenGL context.

WinGLContext ( ContextHandle handle, WinWindowInfo window, IGraphicsContext sharedContext, int major, int minor, GraphicsContextFlags flags ) : System
WinGLContext ( OpenTK.Graphics.GraphicsMode format, WinWindowInfo window, IGraphicsContext sharedContext, int major, int minor, GraphicsContextFlags flags ) : System

Private Methods

Méthode Description
DestroyContext ( ) : void
Dispose ( bool calledManually ) : void
Init ( ) : void
SetGraphicsModePFD ( OpenTK.Graphics.GraphicsMode mode, WinWindowInfo window ) : void
WinGLContext ( ) : System

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetAddress() public méthode

public GetAddress ( string function_string ) : IntPtr
function_string 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

ToString() public méthode

Returns a System.String describing this OpenGL context.
public ToString ( ) : string
Résultat string

WinGLContext() public méthode

public WinGLContext ( ContextHandle handle, WinWindowInfo window, IGraphicsContext sharedContext, int major, int minor, GraphicsContextFlags flags ) : System
handle ContextHandle
window WinWindowInfo
sharedContext IGraphicsContext
major int
minor int
flags GraphicsContextFlags
Résultat System

WinGLContext() public méthode

public WinGLContext ( OpenTK.Graphics.GraphicsMode format, WinWindowInfo window, IGraphicsContext sharedContext, int major, int minor, GraphicsContextFlags flags ) : System
format OpenTK.Graphics.GraphicsMode
window WinWindowInfo
sharedContext IGraphicsContext
major int
minor int
flags GraphicsContextFlags
Résultat System