NativeWindow

Description

class Tinman.Engine.Application.NativeWindow

Derived from

Disposable abstract
INativeWindow

Default implementation of the INativeWindow.

Use this class to wrap existing native windows when calling IGraphicsContext.CreateSwapChain, instead of creating new ones from scratch.

Public / Constructors

Native​Window


public constructor NativeWindow → (3)

nativeHandle in : IntPtr

See INativeHandle.NativeHandle.

nativeHandleType in : NativeHandleType

See NativeHandleType.

clientSize in : Vec2I

See INativeWindow.ClientSize

Creates a new instance of NativeWindow.