Optimization and advanced topics for DirectX games

This section provides information about optimizing your DirectX game performance and other advanced topics.

Asynchronous programming for games topic discusses the various points to consider when you want to use asynchronous programming to parallelize some of the components and use multithreading to maximise the use of a powerful GPU.

Handle device removed scenarios in Direct3D 11 topic uses a walkthrough to explain how games developed using Direct3D 11 can detect and respond to situations where the graphics adapter is reset, removed, or changed.

Multisampling in UWP apps topic provides an overview of how to use multi-sample antialiasing, a graphics technique to reduce the appearance of aliased edges in UWP games built with Direct3D.

Optimize input and rendering loop topic provides guidance on how to choose the right input event processing option to manage input latency and optimize the rendering loop.

Reduce latency with DXGI 1.3 swap chains topic explains how to reduce effective frame latency by waiting for the swap chain to signal the appropriate time to begin rendering a new frame.

Swap chain scaling and overlays topic explains how to improve rendering times by using scaled swap chains to render real-time game content at a lower resolution than the display is natively capable of. It also explains how to create overlay swap chains for devices with the hardware overlay capability; this technique can be used to alleviate the issue of a scaled down UI resulting from the use of swap chain scaling.

Topic Description

Asynchronous programming for games

Understand asynchronous programming and threading with DirectX.

Handle device removed scenarios in Direct3D 11

Recreate the Direct3D and DXGI device interface chain when the graphics adapter is removed or reinitialized.

Multisampling in UWP apps

Use multisampling in UWP games built using Direct3D.

Optimize input and rendering loop

Reduce input latency and optimize the rendering loop.

Reduce latency with DXGI 1.3 swap chains

Use DXGI 1.3 to reduce the effective frame latency.

Swap chain scaling and overlays

Create scaled swap chains for faster rendering on mobile devices, and use overlay swap chains to increase the visual quality.