Property | Type | Description | |
---|---|---|---|
GLControl | System | ||
GrabScreenshot | |||
InitializeComponent | void | ||
ValidateState | void |
Method | 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.
|
Method | 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.
|
Method | 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 | |
return | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public GLControl ( OpenTK.Graphics.GraphicsMode mode ) : System | ||
mode | OpenTK.Graphics.GraphicsMode | The OpenTK.Graphics.GraphicsMode of the control. |
return | 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. |
return | System |
protected OnHandleCreated ( |
||
e | Not used. | |
return | void |
protected OnHandleDestroyed ( |
||
e | Not used. | |
return | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | A System.Windows.Forms.PaintEventArgs that contains the event data. |
return | void |
protected OnParentChanged ( |
||
e | A System.EventArgs that contains the event data. | |
return | void |
protected OnResize ( |
||
e | A System.EventArgs that contains the event data. | |
return | void |