C# 클래스 CSharpGL.GLCanvas

상속: System.Windows.Forms.UserControl, ISupportInitialize, ICanvas
파일 보기 프로젝트 열기: bitzhuwei/CSharpGL 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
designMode bool
renderContext FBORenderContext

Private Properties

프로퍼티 타입 설명
DestroyRenderContext void
DoOpenGLDraw void
ISupportInitialize void
InitializeComponent void
redrawTimer_Tick void

공개 메소드들

메소드 설명
GLCanvas ( ) : System

Creats render context and supports OpenGL rendering.

Repaint ( ) : void

ivec2(width, height)

repaint this canvas' content.

보호된 메소드들

메소드 설명
CreateRenderContext ( ) : void

DesignModeRendering ( ) : void

Dispose ( bool disposing ) : void

清理所有正在使用的资源。

OnHandleDestroyed ( EventArgs e ) : void

OnPaint ( PaintEventArgs e ) : void

OnPaintBackground ( PaintEventArgs e ) : void

OnSizeChanged ( EventArgs e ) : void

비공개 메소드들

메소드 설명
DestroyRenderContext ( ) : void
DoOpenGLDraw ( PaintEventArgs e ) : void

Call this function in derived classes to do the OpenGL Draw event.

ISupportInitialize ( ) : void
InitializeComponent ( ) : void

设计器支持所需的方法 - 不要 使用代码编辑器修改此方法的内容。

redrawTimer_Tick ( object sender, EventArgs e ) : void

메소드 상세

CreateRenderContext() 보호된 메소드

protected CreateRenderContext ( ) : void
리턴 void

DesignModeRendering() 보호된 메소드

protected DesignModeRendering ( ) : void
리턴 void

Dispose() 보호된 메소드

清理所有正在使用的资源。
protected Dispose ( bool disposing ) : void
disposing bool 如果应释放托管资源,为 true;否则为 false。
리턴 void

GLCanvas() 공개 메소드

Creats render context and supports OpenGL rendering.
public GLCanvas ( ) : System
리턴 System

OnHandleDestroyed() 보호된 메소드

protected OnHandleDestroyed ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

OnPaintBackground() 보호된 메소드

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

OnSizeChanged() 보호된 메소드

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

Repaint() 공개 메소드

ivec2(width, height) repaint this canvas' content.
public Repaint ( ) : void
리턴 void

프로퍼티 상세

designMode 보호되어 있는 프로퍼티

indicates whether the control is in design mode.
protected bool designMode
리턴 bool

renderContext 보호되어 있는 프로퍼티

protected FBORenderContext,CSharpGL renderContext
리턴 FBORenderContext