Android Guides | Samples

OpenTK.GameViewBase Class

See Also: GameViewBase

Syntax

[Android.Runtime.Register("opentk/GameViewBase")]
public abstract class GameViewBase : SurfaceView, IGameWindow, IDisposable

Requirements

Namespace: OpenTK
Assembly: OpenTK (in OpenTK.dll)
Assembly Versions: 0.9.9.3

The members of OpenTK.GameViewBase are listed below.

See Also: SurfaceView

Public Constructors

Public Properties

AutoResizeBoolean. Controls whether the graphics context is recreated when the display size changes.
BoundsRectangle. This member is not supported.
ClientRectangleRectangle. This member is not supported.
ClientSizeSize. This member is not supported.
[read-only]
ExistsBoolean. This member is not supported.
[read-only]
FocusedBoolean. This member is not supported.
GraphicsContextIGraphicsContext.
HeightInt32.
LocationPoint. This member is not supported.
SizeSize. The size of the current view.
TitleString.
VisibleBoolean. Gets or sets a value specifying whether the view is visible.
WidthInt32.
WindowBorderWindowBorder. Always returns WindowBorder.Hidden.
[read-only]
WindowInfoIWindowInfo. Gets information about the containing window.
WindowStateWindowState. Gets or states the state of the view.
XInt32. This member is not supported.
YInt32. This member is not supported.

Public Methods

Close()
Invokes the AndroidGameView.OnClosed(EventArgs) event.
abstract
MakeCurrent()
Makes the AndroidGameView.GraphicsContext current on the calling thread.
PointToClient(Point) : Point
PointToScreen(Point) : Point
ProcessEvents()
This member is not supported.
abstract
Run()
Starts as-fast-as-possible run-loop processing.
abstract
Run(Double)
Starts run-loop processing at a rate of updateRate frames per second.
abstract
SwapBuffers()
Swaps the front and back buffers of the current GraphicsContext, presenting the rendered scene to the user.

Protected Methods

Public Events

Closed Occurs when the view has been closed.
ClosingThis member is not supported.
ContextLost
ContextSet
Disposed Occurs when the view is disposed
FocusedChangedThis member is not supported.
Load Occurs before the run loop starts.
MouseEnterThis member is not supported.
MouseLeaveThis member is not supported.
MoveThis member is not supported.
RenderFrame Occurs part of run-loop processing when a frame should be rendered.
Resize Occurs when the view's AndroidGameView.Size changes.
TitleChanged Occurs when the value of AndroidGameView.Title changes.
Unload Occurs when the run-loop is terminated.
UpdateFrame Occurs part of run-loop processing when a frame should be updated prior to rendering.
VisibleChanged Occurs when the value of AndroidGameView.Visible changes.
WindowBorderChangedThis member is not supported.
WindowStateChanged Occurs when the value of AndroidGameView.WindowState changes.

Explicitly Implemented Interface Members