Свойство | Type | Description | |
---|---|---|---|
GLControl | System | ||
GrabScreenshot | |||
InitializeComponent | void | ||
ValidateState | void |
Méthode | Description | |
---|---|---|
GLControl ( OpenTK.Graphics.GraphicsMode mode ) : System |
Constructs a new GLControl with the specified GraphicsMode.
|
|
GLControl ( OpenTK.Graphics.GraphicsMode mode, int major, int minor, GraphicsContextFlags flags ) : System |
Constructs a new GLControl with the specified GraphicsMode.
|
|
GetEglDisplay ( ) : |
||
GetEglSurface ( ) : |
||
MakeCurrent ( ) : void |
Makes the underlying this GLControl current in the calling thread. All OpenGL commands issued are hereafter interpreted by this GLControl.
|
|
SwapBuffers ( ) : void |
Swaps the front and back buffers, presenting the rendered scene to the screen.
|
Méthode | Description | |
---|---|---|
ChildCtorOnlyResetGraphicMode ( OpenTK.Graphics.GraphicsMode mode ) : void | ||
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnHandleCreated ( |
Raises the HandleCreated event.
|
|
OnHandleDestroyed ( |
Raises the HandleDestroyed event.
|
|
OnPaint ( PaintEventArgs e ) : void |
Raises the System.Windows.Forms.Control.Paint event.
|
|
OnParentChanged ( |
Raises the ParentChanged event.
|
|
OnResize ( |
Raises the Resize event. Note: this method may be called before the OpenGL context is ready. Check that IsHandleCreated is true before using any OpenGL methods.
|
Méthode | Description | |
---|---|---|
GLControl ( ) : System | ||
GrabScreenshot ( ) : |
||
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
ValidateState ( ) : void |
protected ChildCtorOnlyResetGraphicMode ( OpenTK.Graphics.GraphicsMode mode ) : void | ||
mode | OpenTK.Graphics.GraphicsMode | |
Résultat | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
Résultat | void |
public GLControl ( OpenTK.Graphics.GraphicsMode mode ) : System | ||
mode | OpenTK.Graphics.GraphicsMode | The OpenTK.Graphics.GraphicsMode of the control. |
Résultat | System |
public GLControl ( OpenTK.Graphics.GraphicsMode mode, int major, int minor, GraphicsContextFlags flags ) : System | ||
mode | OpenTK.Graphics.GraphicsMode | The OpenTK.Graphics.GraphicsMode of the control. |
major | int | The major version for the OpenGL GraphicsContext. |
minor | int | The minor version for the OpenGL GraphicsContext. |
flags | GraphicsContextFlags | The GraphicsContextFlags for the OpenGL GraphicsContext. |
Résultat | System |
protected OnHandleCreated ( |
||
e | Not used. | |
Résultat | void |
protected OnHandleDestroyed ( |
||
e | Not used. | |
Résultat | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | A System.Windows.Forms.PaintEventArgs that contains the event data. |
Résultat | void |
protected OnParentChanged ( |
||
e | A System.EventArgs that contains the event data. | |
Résultat | void |
protected OnResize ( |
||
e | A System.EventArgs that contains the event data. | |
Résultat | void |