Table of Contents

Class WindowHandle

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

Encapsulates a platform-specific window handle.

public class WindowHandle
Inheritance
object
WindowHandle
Extension Methods

Constructors

WindowHandle(AppContextType, object, nint)

Encapsulates a platform-specific window handle.

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

Parameters

context AppContextType

The context type, indicating the platform and UI framework.

nativeWindow object

The native window instance (e.g. a Windows Forms' Form, a SDL's SDLWindow, etc.).

handle nint

The associated handle of nativeWindow.

Fields

Context

The context type, indicating the platform and graphics API.

public readonly AppContextType Context

Field Value

AppContextType

Properties

Handle

Gets the associated platform-specific handle of NativeWindow.

public nint Handle { get; }

Property Value

nint

NativeWindow

Gets the native window as an opaque object.

public object NativeWindow { get; }

Property Value

object