Class AndroidGameView
Inheritance
SurfaceView
AndroidGameView
Implements
IGameWindow
ISurfaceHolderCallback
Assembly: cs.temp.dll.dll
public class AndroidGameView : GameViewBase, IGameWindow, ISurfaceHolderCallback
Constructors
AndroidGameView(Context)
Declaration
public AndroidGameView(Context context)
Parameters
Type |
Name |
Description |
Context |
context |
|
AndroidGameView(Context, IAttributeSet)
Declaration
public AndroidGameView(Context context, IAttributeSet attrs)
Parameters
Type |
Name |
Description |
Context |
context |
|
IAttributeSet |
attrs |
|
Declaration
public AndroidGameView(IntPtr handle, Android.Runtime.JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
handle |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Fields
Declaration
public Exception RenderThreadException
Field Value
Type |
Description |
System.Exception |
|
Properties
AutoSetContextOnRenderFrame
Declaration
public bool AutoSetContextOnRenderFrame { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ContextRenderingApi
Declaration
public GLVersion ContextRenderingApi { get; set; }
Property Value
Type |
Description |
GLVersion |
|
Declaration
public GraphicsMode GraphicsMode { get; set; }
Property Value
Type |
Description |
GraphicsMode |
|
Declaration
public bool RenderOnUIThread { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public int RenderThreadRestartRetries { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
The size of the current view.
Declaration
public override Size Size { get; set; }
Property Value
Type |
Description |
Size |
A System.Drawing.Size which is the size of the current view.
|
Overrides
Exceptions
Type |
Condition |
System.ObjectDisposed |
The instance has been disposed
|
Declaration
public Format SurfaceFormat { get; set; }
Property Value
The visibility of the window. Always returns true.
Declaration
public virtual bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Exceptions
Type |
Condition |
System.ObjectDisposed |
The instance has been disposed
|
Declaration
public override WindowBorder WindowBorder { get; set; }
Property Value
Overrides
Exceptions
Type |
Condition |
System.ObjectDisposed |
The instance has been disposed
|
Gets information about the containing window.
Declaration
public override IWindowInfo WindowInfo { get; }
Property Value
Overrides
Exceptions
Type |
Condition |
System.ObjectDisposed |
The instance has been disposed
|
Declaration
public override WindowState WindowState { get; set; }
Property Value
Overrides
Exceptions
Type |
Condition |
System.ObjectDisposed |
The instance has been disposed
|
Methods
Declaration
public override void Close()
Overrides
Declaration
protected virtual void DestroyFrameBuffer()
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Declaration
public override void MakeCurrent()
Overrides
OnContextLost(EventArgs)
Declaration
protected override void OnContextLost(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Overrides
Declaration
public virtual void Pause()
Declaration
public virtual void Resume()
Declaration
public override void Run()
Overrides
Declaration
public override void Run(double updatesPerSecond)
Parameters
Type |
Name |
Description |
System.Double |
updatesPerSecond |
|
Overrides
Declaration
Declaration
public void SurfaceChanged(ISurfaceHolder holder, Format format, int w, int h)
Parameters
Type |
Name |
Description |
ISurfaceHolder |
holder |
|
Format |
format |
|
System.Int32 |
w |
|
System.Int32 |
h |
|
Declaration
public void SurfaceCreated(ISurfaceHolder holder)
Parameters
Type |
Name |
Description |
ISurfaceHolder |
holder |
|
Declaration
public void SurfaceDestroyed(ISurfaceHolder holder)
Parameters
Type |
Name |
Description |
ISurfaceHolder |
holder |
|
Declaration
public override void SwapBuffers()
Overrides
Implements
IGameWindow
ISurfaceHolderCallback