Table of Contents

Class WindowHandle

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

A platform specific window handle.

public class WindowHandle
Inheritance
WindowHandle

Constructors

WindowHandle(AppContextType, object, nint)

Initializes a new instance of the WindowHandle class.

public WindowHandle(AppContextType context, object nativeWindow, nint handle)

Parameters

context AppContextType

The context.

nativeWindow object

The native window instance (Winforms, SDLWindow, ...).

handle nint

The associated handle of nativeWindow.

Fields

Context

The context.

public readonly AppContextType Context

Field Value

AppContextType

Properties

Handle

The associated platform specific handle of NativeWindow.

public nint Handle { get; }

Property Value

nint

NativeWindow

The native windows as an opaque object.

public object NativeWindow { get; }

Property Value

object