DirectX graphics and gaming

This content focuses on using DirectX in a Win32 application. For information on using DirectX in a UWP application, see the Windows game development guide (UWP).


For descriptions of and links to DirectX components in active development, see the blog post DirectX Landing Page.

In this section

Topic Description
Getting Started with DirectX graphics Microsoft DirectX graphics provides a set of APIs that you can use to create games and other high-performance multimedia apps. DirectX graphics includes support for high-performance 2-D and 3-D graphics.
Programming DirectX with COM The Microsoft Component Object Model (COM) is an object-oriented programming model used by several technologies, including the bulk of the DirectX API surface.
Direct2D Direct2D is a hardware-accelerated, immediate-mode, 2-D graphics API that provides high performance and high-quality rendering for 2-D geometry, bitmaps, and text.
Direct3D Direct3D enables you to create 3-D graphics for games and scientific apps.
DXCore DXCore is an adapter enumeration API for graphics and compute devices, so some of its facilities overlap with those of DXGI.
DirectWrite DirectWrite supports high-quality text rendering, resolution-independent outline fonts, and full Unicode text and layouts.
DirectXMath DirectXMath provides an optimal and portable interface for arithmetic and linear algebra operations on single-precision floating-point vectors (2D, 3D, and 4D) or matrices (3×3 and 4×4).
Direct Machine Learning (DirectML) Direct Machine Learning (DirectML) is a low-level API for machine learning. It has a familiar (native C++, nano-COM) programming interface and workflow in the style of DirectX 12. You can integrate machine learning inferencing workloads into your game, engine, middleware, backend, or other application. DirectML is supported by all DirectX 12-compatible hardware.
windowsnumerics.h APIs The windowsnumerics.h header file defines C++ vector and matrix types in the Windows.Foundation.Numerics namespace.
Classic DirectX Graphics Microsoft DirectX graphics technologies that are currently minimally used. We do not recommend using these classic DirectX graphics technologies for new apps.
Tools for DirectX Graphics Describes tools for DirectX Graphics.
DirectX Graphics Articles Contains technical articles for DirectX Graphics.
XAudio2 APIs Provides a signal processing and mixing foundation for games. XAudio2 replaces DirectSound.
XInput game controller APIs Describes how to use the XInput API to interact with the Xbox 360 Controller when it is connected to a Windows computer. XInput replaces DirectInput.