C# 클래스 CSharpGL.GLSceneCanvas

상속: System.Windows.Forms.UserControl, ISupportInitialize, ICanvas
파일 보기 프로젝트 열기: bitzhuwei/CSharpGL

보호된 프로퍼티들

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

Private Properties

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

공개 메소드들

메소드 설명
GLSceneCanvas ( ) : System

Creats render context and supports OpenGL rendering.

Repaint ( ) : void

repaint this canvas' content.

보호된 메소드들

메소드 설명
CreateRenderContext ( ) : void

DesignModeRender ( ) : 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
redrawTimer_Tick ( object sender, EventArgs e ) : void

메소드 상세

CreateRenderContext() 보호된 메소드

protected CreateRenderContext ( ) : void
리턴 void

DesignModeRender() 보호된 메소드

protected DesignModeRender ( ) : void
리턴 void

GLSceneCanvas() 공개 메소드

Creats render context and supports OpenGL rendering.
public GLSceneCanvas ( ) : 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() 공개 메소드

repaint this canvas' content.
public Repaint ( ) : void
리턴 void

프로퍼티 상세

designMode 보호되어 있는 프로퍼티

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

renderContext 보호되어 있는 프로퍼티

protected RenderContext,CSharpGL renderContext
리턴 RenderContext