C# 클래스 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.
상속: DesktopGraphicsContext
파일 보기 프로젝트 열기: andykorth/opentk 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DestroyContext void
Dispose void
Init void
SetGraphicsModePFD void
WinGLContext System

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
DestroyContext ( ) : void
Dispose ( bool calledManually ) : void
Init ( ) : void
SetGraphicsModePFD ( OpenTK.Graphics.GraphicsMode mode, WinWindowInfo window ) : void
WinGLContext ( ) : System

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetAddress() 공개 메소드

public GetAddress ( string function_string ) : IntPtr
function_string string
리턴 System.IntPtr

LoadAll() 공개 메소드

public LoadAll ( ) : void
리턴 void

MakeCurrent() 공개 메소드

public MakeCurrent ( IWindowInfo window ) : void
window IWindowInfo
리턴 void

SwapBuffers() 공개 메소드

public SwapBuffers ( ) : void
리턴 void

ToString() 공개 메소드

Returns a System.String describing this OpenGL context.
public ToString ( ) : string
리턴 string

WinGLContext() 공개 메소드

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
리턴 System

WinGLContext() 공개 메소드

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
리턴 System