INativeWindowRecreate

Description

interface Tinman.Engine.Application.INativeWindowRecreate

Extended by

INativeWindow

Base interface for classes that represent native windows and offer the possibility to re-create the underlying native window handle.

Calling the methods of this interface is only necessary in very specific cases, for example when switching from a DirectX 12 swap chain to an earlier DirectX version or when switching between OpenGL and Vulkan swap chains.

Public / Methods

Recreate​Native​Window​If​Necessary


public method RecreateNativeWindowIfNecessary → (1)

token in : string

[not-null]
A user-defined token that describes the calling code. For equal tokens, the underlying native window will never be re-created.

Re-creates the underlying native window, if necessary.

RenderException

If a graphics subsystem error has occurred.

Recreate​Native​Window​Is​Necessary


public method RecreateNativeWindowIsNecessary → (1)

token in : string

[not-null]
A user-defined token that describes the calling code. For equal tokens, the underlying native window will never be re-created.

The underlying native window needs to be re-created.