C# Class OpenTK.Platform.SDL2.Sdl2GraphicsContext

Inheritance: DesktopGraphicsContext
ファイルを表示 Open project: andykorth/opentk Class Usage Examples

Private Properties

Property Type Description
Dispose void
Sdl2GraphicsContext System
SetGLAttributes void

Public Methods

Method Description
Dispose ( ) : void
GetAddress ( string function ) : IntPtr
MakeCurrent ( IWindowInfo window ) : void
Sdl2GraphicsContext ( OpenTK.Graphics.GraphicsMode mode, IWindowInfo win, IGraphicsContext shareContext, int major, int minor, OpenTK flags ) : System
SwapBuffers ( ) : void

Private Methods

Method Description
Dispose ( bool manual ) : void
Sdl2GraphicsContext ( IWindowInfo window ) : System
SetGLAttributes ( OpenTK.Graphics.GraphicsMode mode, IGraphicsContext shareContext, int major, int minor, GraphicsContextFlags flags ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetAddress() public method

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

MakeCurrent() public method

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

Sdl2GraphicsContext() public method

public Sdl2GraphicsContext ( OpenTK.Graphics.GraphicsMode mode, IWindowInfo win, IGraphicsContext shareContext, int major, int minor, OpenTK flags ) : System
mode OpenTK.Graphics.GraphicsMode
win IWindowInfo
shareContext IGraphicsContext
major int
minor int
flags OpenTK
return System

SwapBuffers() public method

public SwapBuffers ( ) : void
return void