C# 클래스 Tao.Platform.Windows.SimpleOpenGlControl

Provides a simple OpenGL control allowing quick development of Windows Forms-based OpenGL applications.
상속: System.Windows.Forms.UserControl
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

Private Properties

프로퍼티 타입 설명
InitializeBackground void
InitializeComponent void
InitializeStyles void

공개 메소드들

메소드 설명
DestroyContexts ( ) : void

Draw ( ) : void

Sends an see cref="UserControl.Invalidate" command to this control, thus forcing a redraw to occur.

InitializeContexts ( ) : void

Creates the OpenGL contexts.

MakeCurrent ( ) : void

SimpleOpenGlControl ( ) : System

Constructor. Creates contexts and sets properties.

SwapBuffers ( ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Disposes the control.

OnPaint ( PaintEventArgs e ) : void

Paints the control.

OnPaintBackground ( PaintEventArgs e ) : void

Paints the background.

비공개 메소드들

메소드 설명
InitializeBackground ( ) : void

Loads the bitmap from the assembly's manifest resource.

InitializeComponent ( ) : void

Required for designer support.

InitializeStyles ( ) : void

Initializes the control's styles.

메소드 상세

DestroyContexts() 공개 메소드

public DestroyContexts ( ) : void
리턴 void

Dispose() 보호된 메소드

Disposes the control.
protected Dispose ( bool disposing ) : void
disposing bool Was the disposed manually called?
리턴 void

Draw() 공개 메소드

Sends an see cref="UserControl.Invalidate" command to this control, thus forcing a redraw to occur.
public Draw ( ) : void
리턴 void

InitializeContexts() 공개 메소드

Creates the OpenGL contexts.
public InitializeContexts ( ) : void
리턴 void

MakeCurrent() 공개 메소드

public MakeCurrent ( ) : void
리턴 void

OnPaint() 보호된 메소드

Paints the control.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs The paint event arguments.
리턴 void

OnPaintBackground() 보호된 메소드

Paints the background.
protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

SimpleOpenGlControl() 공개 메소드

Constructor. Creates contexts and sets properties.
public SimpleOpenGlControl ( ) : System
리턴 System

SwapBuffers() 공개 메소드

public SwapBuffers ( ) : void
리턴 void