Direct3D 12 Programming Guide

Direct3D 12 provides an API and platform that allows apps to take advantage of the graphics and computing capabilities of PCs equipped with one or more Direct3D 12-compatible GPUs.

In this section

TopicDescription

What is Direct3D 12?

DirectX 12 introduces the next version of Direct3D, the 3D graphics API at the heart of DirectX. This version of Direct3D is faster and more efficient than any previous version. Direct3D 12 enables richer scenes, more objects, more complex effects, and full utilization of modern GPU hardware.

New Releases

Describes the most significant new documentation available with the latest SDK release.

Understanding Direct3D 12

To write 3D games and apps for Windows 10 and Windows 10 Mobile, you must understand the basics of the Direct3D 12 technology, and how to prepare to use it in your games and apps.

Work Submission in Direct3D 12

To improve the CPU efficiency of Direct3D apps, Direct3D 12 no longer supports an immediate context associated with a device. Instead, apps record and then submit command lists, which contain drawing and resource management calls. These command lists can be submitted from multiple threads to one or more command queues, which manage the execution of the commands. This fundamental change increases single-threaded efficiency by allowing apps to pre-compute rendering work for later re-use, and it takes advantage of multi-core systems by spreading rendering work across multiple threads.

Resource Binding in Direct3D 12

Binding is the process of linking resource objects to the shaders of the graphics pipeline.

Memory Management in Direct3D 12

Moving to D3D12 involves doing proper synchronization and management of memory residency. Managing memory residency means even more synchronization must be done. This section covers memory management strategies, and suballocation within heaps and buffers.

Multi-Engine and Multi-Adapter Synchronization

Provides an overview and lists APIs relevant to multi-engine (the 3D, compute, and copy engines), and multi-adapter.

Rendering

This section contains information about rendering features new to Direct3D 12 (and Direct3D 11.3).

Counters, Queries and Performance Measurement

The following sections describe features for use in performance testing and improvement, such as queries, counters, timing, and predication.

Working with Direct3D 11, Direct3D 10 and Direct2D

This section covers interop techniques with earlier versions of Direct3D and Direct2D, the Direct3D 11on12 API, and porting guidelines from Direct3D 11 to Direct3D 12.

Working Samples

Working samples are available for download, showing the usage of a number of features of Direct3D 12.

D3D12 Code Walk-Throughs

This section provides code for sample scenarios. Many of the walk-throughs provide details on what coding is required to be added to a basic sample, to avoid repeating the basic component code for each scenario.

Understanding the D3D12 Debug Layer

Describes how to make best use of the D3D12 Debug Layer.

 

Related topics

Direct3D 12 Graphics
Direct3D 12 Reference
DirectX advanced learning video tutorials

 

 

Show: