Search Results for

    Show / Hide Table of Contents

    Class AndroidWindowsSystem

    Android Windows System.

    Inheritance
    object
    WindowsSystem
    AndroidWindowsSystem
    Implements
    IGetNativePointers
    IFileSystemProvider
    Inherited Members
    WindowsSystem.Run(Action, Action)
    WindowsSystem.Dispose()
    WindowsSystem.Destroy()
    Namespace: Evergine.Android
    Assembly: Evergine.Android.dll
    Syntax
    public class AndroidWindowsSystem : WindowsSystem, IGetNativePointers, IFileSystemProvider

    Constructors

    AndroidWindowsSystem(Context)

    Initializes a new instance of the AndroidWindowsSystem class.

    Declaration
    public AndroidWindowsSystem(Context context)
    Parameters
    Type Name Description
    Context context

    Android context.

    Properties

    AvailablePointerKeys

    Gets a list of all available keys to obtain native pointers.

    Declaration
    public override IEnumerable<string> AvailablePointerKeys { get; }
    Property Value
    Type Description
    IEnumerable<string>
    Overrides
    WindowsSystem.AvailablePointerKeys

    FileSystem

    Gets the file system.

    Declaration
    public IFileSystem FileSystem { get; }
    Property Value
    Type Description
    IFileSystem

    Methods

    CreateLoopThread(Action, Action)

    Creates a looping thread.

    Declaration
    protected override void CreateLoopThread(Action loadAction, Action renderCallback)
    Parameters
    Type Name Description
    Action loadAction

    The loading action.

    Action renderCallback

    The rendering callback action.

    Overrides
    WindowsSystem.CreateLoopThread(Action, Action)

    CreateSurface(bool)

    Create a surface and select run graphics backend in UI Thread or not.

    Declaration
    public Surface CreateSurface(bool runInUIThread = true)
    Parameters
    Type Name Description
    bool runInUIThread

    Run in UI Thread or independent thread.

    Returns
    Type Description
    Surface

    Surface created.

    CreateSurface(object)

    Creates a surface.

    Declaration
    public override Surface CreateSurface(object nativeSurface)
    Parameters
    Type Name Description
    object nativeSurface

    The native surface control.

    Returns
    Type Description
    Surface

    A surface instance.

    Overrides
    WindowsSystem.CreateSurface(object)

    CreateSurface(uint, uint)

    Creates a surface.

    Declaration
    public override Surface CreateSurface(uint width, uint height)
    Parameters
    Type Name Description
    uint width

    The width of the surface.

    uint height

    The height of the surface.

    Returns
    Type Description
    Surface

    A surface instance.

    Overrides
    WindowsSystem.CreateSurface(uint, uint)

    CreateWindow(string, uint, uint, bool)

    Creates a window.

    Declaration
    public override Window CreateWindow(string title, uint width, uint height, bool visible)
    Parameters
    Type Name Description
    string title

    Window title.

    uint width

    Window width.

    uint height

    Window height.

    bool visible

    Window visibility.

    Returns
    Type Description
    Window

    Window instance.

    Overrides
    WindowsSystem.CreateWindow(string, uint, uint, bool)

    GetNativePointer(string, out nint)

    Obtains a native pointer for this graphics context using the given key.

    Declaration
    public override bool GetNativePointer(string pointerKey, out nint nativePointer)
    Parameters
    Type Name Description
    string pointerKey

    The pointer key.

    nint nativePointer

    The native pointer.

    Returns
    Type Description
    bool

    True if there is an available pointer with this key.

    Overrides
    WindowsSystem.GetNativePointer(string, out nint)

    Implements

    IGetNativePointers
    IFileSystemProvider

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX