Table of Contents

Class DirectXContext

Namespace
Xui.Runtime.Windows.Actual
Assembly
Xui.Runtime.Windows.dll
public sealed class DirectXContext
Inheritance
DirectXContext
Inherited Members

Properties

FrameLatencyHandle

IDXGISwapChain2::GetFrameLatencyWaitableObject() handle.

public nint FrameLatencyHandle { get; }

Property Value

nint

Methods

EnsureInitialized(HWND)

Initializes the swapchain + D2D target + DComp visual tree. Must not be done in WM_PAINT (we validate there only).

public void EnsureInitialized(User32.Types.HWND hWnd)

Parameters

hWnd User32.Types.HWND

Render()

public void Render()

ResizeBuffers(HWND, uint, uint)

public void ResizeBuffers(User32.Types.HWND hWnd, uint physicalW, uint physicalH)

Parameters

hWnd User32.Types.HWND
physicalW uint
physicalH uint