Property | Type | Description | |
---|---|---|---|
designMode | bool | ||
renderContext |
Property | Type | Description | |
---|---|---|---|
DestroyRenderContext | void | ||
DoOpenGLDraw | void | ||
ISupportInitialize | void | ||
InitializeComponent | void | ||
redrawTimer_Tick | void |
Method | Description | |
---|---|---|
GLCanvas ( ) : System |
Creats render context and supports OpenGL rendering.
|
|
Repaint ( ) : void |
ivec2(width, height) repaint this canvas' content.
|
Method | Description | |
---|---|---|
CreateRenderContext ( ) : void |
|
|
DesignModeRendering ( ) : void |
|
|
Dispose ( bool disposing ) : void |
清理所有正在使用的资源。
|
|
OnHandleDestroyed ( |
|
|
OnPaint ( PaintEventArgs e ) : void |
|
|
OnPaintBackground ( PaintEventArgs e ) : void |
|
|
OnSizeChanged ( |
|
Method | Description | |
---|---|---|
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, |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | 如果应释放托管资源,为 true;否则为 false。 |
return | void |
protected OnHandleDestroyed ( |
||
e | ||
return | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
return | void |
protected OnPaintBackground ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
return | void |
protected OnSizeChanged ( |
||
e | ||
return | void |