Method | Description | |
---|---|---|
Close ( ) : void |
Invokes the M:OpenTK.Platform.Android.AndroidGameView.OnClosed(System.EventArgs) event. This method only invokes the M:OpenTK.Platform.Android.AndroidGameView.OnClosed(System.EventArgs) method. |
|
GameViewBase ( |
||
MakeCurrent ( ) : void |
Makes the P:OpenTK.Platform.Android.AndroidGameView.GraphicsContext current on the calling thread. This method is equivalent to calling: |
|
PointToClient ( Point point ) : Point | ||
PointToScreen ( Point point ) : Point | ||
ProcessEvents ( ) : void |
This member is not supported. Throws a T:System.NotSupportedException. |
|
Run ( ) : void |
Starts as-fast-as-possible run-loop processing. In this |
|
Run ( double updateRate ) : void |
Starts run-loop processing at a rate of updateRate frames per second.
|
|
SwapBuffers ( ) : void |
Swaps the front and back buffers of the current GraphicsContext, presenting the rendered scene to the user. This method rebinds P:OpenTK.Platform.Android.AndroidGameView.Renderbuffer to the OpenGL context's |
Method | Description | |
---|---|---|
CreateFrameBuffer ( ) : void | ||
OnClosed ( |
Raises the E:OpenTK.Platform.Android.AndroidGameView.Closed event. The OnClosed in a derived class, be sure to call the base class's OnClosed method so that registered delegates receive the event. |
|
OnContextLost ( |
Raises the E:OpenTK.Platform.Android.AndroidGameView.ContextLost event. The OnContextLost in a derived class, be sure to call the base class's OnContextLost method so that registered delegates receive the event. |
|
OnContextSet ( |
Raises the E:OpenTK.Platform.Android.AndroidGameView.ContextSet event. The OnContextSet in a derived class, be sure to call the base class's OnContextSet method so that registered delegates receive the event. |
|
OnDisposed ( |
Raises the E:OpenTK.Platform.Android.AndroidGameView.Disposed event. The OnDisposed in a derived class, be sure to call the base class's OnDisposed method so that registered delegates receive the event. |
|
OnLoad ( |
Raises the E:OpenTK.Platform.Android.AndroidGameView.Load event.
|
|
OnRenderFrame ( FrameEventArgs e ) : void |
Raises the E:OpenTK.Platform.Android.AndroidGameView.RenderFrame event. The OnRenderFrame in a derived class, be sure to call the base class's OnRenderFrame method so that registered delegates receive the event. |
|
OnRenderThreadExited ( |
Raises the E:OpenTK.Platform.Android.AndroidGameView.RenderThreadExited event. The OnRenderThreadExited in a derived class, be sure to call the base class's OnRenderThreadExited method so that registered delegates receive the event. |
|
OnResize ( |
Raises the E:OpenTK.Platform.Android.AndroidGameView.Resize event. The OnResize in a derived class, be sure to call the base class's OnResize method so that registered delegates receive the event. |
|
OnTitleChanged ( |
Raises the E:OpenTK.Platform.Android.AndroidGameView.TitleChanged event. The OnTitleChanged in a derived class, be sure to call the base class's OnTitleChanged method so that registered delegates receive the event. |
|
OnUnload ( |
Raises the E:OpenTK.Platform.Android.AndroidGameView.Unload event. The OnUnload in a derived class, be sure to call the base class's OnUnload method so that registered delegates receive the event. |
|
OnUpdateFrame ( FrameEventArgs e ) : void |
Raises the E:OpenTK.Platform.Android.AndroidGameView.UpdateFrame event. The OnUpdateFrame in a derived class, be sure to call the base class's OnUpdateFrame method so that registered delegates receive the event. |
|
OnVisibleChanged ( |
Raises the E:OpenTK.Platform.Android.AndroidGameView.VisibleChanged event. The OnVisibleChanged in a derived class, be sure to call the base class's OnVisibleChanged method so that registered delegates receive the event. |
|
OnWindowStateChanged ( |
Raises the E:OpenTK.Platform.Android.AndroidGameView.WindowStateChanged event. The OnWindowStateChanged in a derived class, be sure to call the base class's OnWindowStateChanged method so that registered delegates receive the event. |
Method | Description | |
---|---|---|
GameViewBase ( Android.Content.Context context ) : System | ||
GameViewBase ( Android.Content.Context context, global attrs ) : System | ||
INativeWindow ( Point point ) : Point |
public GameViewBase ( |
||
handle | ||
transfer | global | |
return | System |
protected OnClosed ( |
||
e |
/// An |
|
return | void |
protected OnContextLost ( |
||
e |
/// An |
|
return | void |
protected OnContextSet ( |
||
e |
/// An |
|
return | void |
protected OnDisposed ( |
||
e |
/// An |
|
return | void |
protected OnLoad ( |
||
e |
/// An |
|
return | void |
protected OnRenderFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs |
/// An |
return | void |
protected OnRenderThreadExited ( |
||
e |
/// An |
|
return | void |
protected OnResize ( |
||
e |
/// An |
|
return | void |
protected OnTitleChanged ( |
||
e |
/// An |
|
return | void |
protected OnUnload ( |
||
e |
/// An |
|
return | void |
protected OnUpdateFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs |
/// An |
return | void |
protected OnVisibleChanged ( |
||
e |
/// An |
|
return | void |
protected OnWindowStateChanged ( |
||
e |
/// An |
|
return | void |
public abstract Run ( double updateRate ) : void | ||
updateRate | double |
/// A |
return | void |