Direct3D 12 Programming Guide

1649 篇文章 11 订阅
1623 篇文章 22 订阅

Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

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

Topic Description

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.

Understanding Direct3D 12

To write 3D games and apps for Windows 10 Insider Preview and Windows 10 Mobile Insider Preview, 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 graphics pipeline. The key to resource binding in DirectX 12 are the concepts of a descriptordescriptor tablesdescriptor heaps, and aroot signature.

Memory Management in Direct3D 12

In Direct3D 12, memory is largely managed by the app. Resources held in memory are managed inresource heaps.

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.

Direct3D 12 Interop

D3D12 can interop both with existing code written using other Windows graphics APIs, as well as with new code written using D3D12 which implements a portion of a graphics engine.

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值