# DirectX

**DirectX** 是微软一系列应用程序编程接口的集合，用于与音频和视频硬件通信，最早于1995年9月30日以 DirectX 1.0（版本号 4.02.0095）发布<sup>[1](https://www.computerhope.com/jargon/d/directx.htm)</sup>。其图形核心 Direct3D 及整个家族已逐步扩展到涵盖计算、光线追踪和机器学习接口<sup>[2](https://devblogs.microsoft.com/directx/evolving-directx-for-the-ml-era-on-windows/)</sup>。自2020年起，旗舰标准一直是 DirectX 12 Ultimate，这是 PC 图形硬件与 Xbox Series X/S 共享的功能集<sup>[3](https://devblogs.microsoft.com/directx/announcing-directx-12-ultimate/)</sup>。

| 关键事实 | 详情 |
|---|---|
| 首次发布 | DirectX 1.0（4.02.0095），1995年9月30日<sup>[1](https://www.computerhope.com/jargon/d/directx.htm)</sup> |
| 当前模式 | DirectX 12，2014年3月在 GDC 上宣布；没有“DirectX 13”，而是持续扩展 DirectX 12 Ultimate<sup>[4](https://web.archive.org/web/20150911233026/http:/blogs.nvidia.com/blog/2014/03/20/directx-12/)</sup><sup> • </sup><sup>[5](https://www.heise.de/en/background/DirectX-30-years-of-Windows-gaming-from-DOOM95-to-ray-tracing-10678945.html)</sup> |
| DX12 设计 | 更低的硬件抽象、应用程序管理内存、命令队列与命令列表、不可变管线状态对象；微软声称 GPU 效率较 Direct3D 11 提升最高约20%<sup>[6](https://learn.microsoft.com/en-us/windows/win32/direct3d12/what-is-directx-12-)</sup> |
| 光线追踪 | DirectX Raytracing（DXR）于2018年3月19日宣布；通过 DispatchRays() 调用，与图形和计算具有同等地位<sup>[7](https://web.archive.org/web/20190722172647/https:/blogs.msdn.microsoft.com/directx/2018/03/19/announcing-microsoft-directx-raytracing/)</sup><sup> • </sup><sup>[8](https://microsoft.github.io/DirectX-Specs/d3d/Raytracing.html)</sup> |
| DX12 Ultimate | 在带有标志的硬件和 Xbox Series X 上保证支持 DXR、可变速率着色、网格着色器和采样器反馈<sup>[3](https://devblogs.microsoft.com/directx/announcing-directx-12-ultimate/)</sup> |
| 功能级别 12_2 | 要求 WDDM 2.0 驱动模型、着色器模型 6.5、光线追踪层级 1.1、可变着色速率层级 2、网格着色器层级 1、采样器反馈层级 0.9<sup>[9](https://microsoft.github.io/DirectX-Specs/d3d/D3D12_FeatureLevel12_2.html)</sup> |
| 装机量 | 2026年9月，92.19% 的 Steam GPU 支持 DirectX 12；仅支持 DirectX 11 的 GPU 降至 0.44%<sup>[10](https://store.steampowered.com/hwsurvey/directx/)</sup> |

## DirectX 是什么

DirectX 将多个组件 API 打包在一个名称之下。Direct3D 是微软在 DirectX 内部的图形 API 家族；更广泛的生态系统如今还涵盖建立在同一 Direct3D 12 运行时之上的计算和机器学习接口<sup>[11](https://techbuzzonline.com/graphics-api-comparison-game-developers-beginners-guide/)</sup><sup> • </sup><sup>[2](https://devblogs.microsoft.com/directx/evolving-directx-for-the-ml-era-on-windows/)</sup>。这一名称既涵盖图形，也涵盖音频和视频硬件访问<sup>[1](https://www.computerhope.com/jargon/d/directx.htm)</sup>。

## 架构：运行时、驱动与显式 API 模型

Direct3D 12 应用程序位于 D3D 运行时之上，运行时位于硬件厂商的驱动和 GPU 之上。DirectX 12 与前代产品的区别在于每一层承担多少工作。Direct3D 12 提供的硬件抽象层级低于此前版本，这改善了多核 CPU 的扩展性，而应用程序负责自己的内存管理<sup>[6](https://learn.microsoft.com/en-us/windows/win32/direct3d12/what-is-directx-12-)</sup>。相比之下，Direct3D 11 将 DirectX 12、Vulkan 和 [Metal](https://www.edgepedia.org/zh/metal-api) 留给开发者的任务委托给驱动<sup>[12](https://alain.xyz/blog/comparison-of-modern-graphics-apis)</sup>。

三种机制承载了显式模型。命令列表与命令队列：命令列表记录 GPU 命令，通过命令队列批量提交，有助于让 GPU 保持忙碌并减少 CPU-GPU 失步<sup>[12](https://alain.xyz/blog/comparison-of-modern-graphics-apis)</sup>。管线状态对象：PSO 是创建后不可变的统一管线状态对象；硬件和驱动可以直接将 PSO 转换为原生硬件指令，省去驱动重新计算硬件状态的开销，从而显著降低绘制调用开销，每帧可发出更多绘制调用<sup>[13](https://learn.microsoft.com/en-us/windows/win32/direct3d12/pipelines-and-shaders-with-directx-12)</sup>。显式资源：由于游戏自身负责内存管理，它必须更显式地管理资源分配和驻留<sup>[6](https://learn.microsoft.com/en-us/windows/win32/direct3d12/what-is-directx-12-)</sup>。

这些接口与 Vulkan 的接口高度对应：ID3D12CommandQueue::ExecuteCommandLists 在 Vulkan 中有直接对应物 vkQueueSubmit，这正是两个 API 的资源管理模型可以逐一对比的原因<sup>[14](https://www.asawicki.info/articles/memory_management_vulkan_direct3d_12.php)</sup>。在高端，功能级别 12_2 要求 WDDM 2.0 驱动模型，将最新功能集与微软的现代显示驱动架构绑定<sup>[9](https://microsoft.github.io/DirectX-Specs/d3d/D3D12_FeatureLevel12_2.html)</sup>。

## 历史与版本演进

DirectX 1.0 于1995年9月30日发布，是一组用于与音频和视频硬件通信的 API<sup>[1](https://www.computerhope.com/jargon/d/directx.htm)</sup>。在整个 DirectX 11 时代，该 API 强调在承担大量工作的驱动背后提供新的图形效果。两个事件改变了方向。AMD 于2013年推出其低级 API Mantle，作为对 DirectX 11 低效问题的直接回应；Mantle 充当了 DirectX 12 和 Vulkan 的先驱与思想来源，AMD 于2015年停止 Mantle 1.0 的开发，建议开发者转向 DirectX 12 或 Vulkan<sup>[5](https://www.heise.de/en/background/DirectX-30-years-of-Windows-gaming-from-DOOM95-to-ray-tracing-10678945.html)</sup>。

微软于2014年3月在旧金山举行的年度[游戏开发者大会](https://www.edgepedia.org/zh/game-developers-conference)上推出 DirectX 12<sup>[4](https://web.archive.org/web/20150911233026/http:/blogs.nvidia.com/blog/2014/03/20/directx-12/)</sup>。那次发布标志着微软方面一次戏剧性的战略转向：效率而非新的图形效果首次成为优先事项，目标是让开发者更接近硬件。<sup>[5](https://www.heise.de/en/background/DirectX-30-years-of-Windows-gaming-from-DOOM95-to-ray-tracing-10678945.html)</sup> 当时超过70%的游戏 PC 基于 DX11，NVIDIA 承诺在其所有 DX11 级别的 Fermi、[Kepler](https://www.edgepedia.org/zh/kepler-microarchitecture) 和 Maxwell GPU 上支持 DX12<sup>[4](https://web.archive.org/web/20150911233026/http:/blogs.nvidia.com/blog/2014/03/20/directx-12/)</sup>。

## DirectX 12 与 DirectX 11 对比

具体差异是结构性的，而不只是表面功夫。Direct3D 12 通过命令队列与命令列表、描述符表以及简洁的管线状态对象降低 GPU 开销<sup>[6](https://learn.microsoft.com/en-us/windows/win32/direct3d12/what-is-directx-12-)</sup>。微软声称相较 Direct3D 11 的优势包括：CPU 开销大幅降低、功耗显著降低、GPU 效率提升最高约20%，以及跨 [Windows 10](https://www.edgepedia.org/zh/windows-10) 设备类型的跨平台开发<sup>[6](https://learn.microsoft.com/en-us/windows/win32/direct3d12/what-is-directx-12-)</sup>。

代价是专业门槛。Direct3D 12 面向高级图形程序员设计；它要求深厚的图形专业知识、高水平的精细调优、多线程以及细致的 CPU/GPU 同步<sup>[6](https://learn.microsoft.com/en-us/windows/win32/direct3d12/what-is-directx-12-)</sup>。Stardock 曾为《星际控制：起源》发布 DirectX 12 和 Vulkan 版本，报告称相较 DirectX 11 性能提升约20%，但权衡之下其 QA 兼容性预算翻倍或增至三倍，并指出在 DirectX 12 和 Vulkan 上仍会遇到导致崩溃的驱动缺陷<sup>[15](https://www.gamedeveloper.com/programming/living-with-vulkan-and-directx-12)</sup>。

## DirectX Raytracing（DXR）

微软于2018年3月19日宣布 [DirectX Raytracing](https://www.edgepedia.org/zh/directx-raytracing)，作为 DirectX 12 的一项功能，旨在弥合游戏所用光栅化技术与完整 3D 光线追踪效果之间的差距<sup>[7](https://web.archive.org/web/20190722172647/https:/blogs.msdn.microsoft.com/directx/2018/03/19/announcing-microsoft-directx-raytracing/)</sup>。该规范将光线追踪定义为 D3D12 中与计算和图形（光栅化）具有同等地位的功能，在可编程性与固定功能效率之间取得平衡，并在单一编程模型下支持带或不带专用光线追踪加速的硬件，能力差异通过功能递进体现<sup>[8](https://microsoft.github.io/DirectX-Specs/d3d/Raytracing.html)</sup>。

该 API 的工作方式如下。正如光栅化通过 Draw() 调用、计算通过 Dispatch() 调用，光线追踪通过 DispatchRays() 调用，可从图形命令列表、计算命令列表或捆绑包中调用<sup>[8](https://microsoft.github.io/DirectX-Specs/d3d/Raytracing.html)</sup>。DXR 引入了一种新的光线图元，具有灵活的单光线数据存储，以及五个新的着色器阶段，用于发射光线、控制相交和为命中点着色<sup>[16](https://cwyman.org/papers/rtg2019_Ch3_IntroductionToDirectXRaytracing.pdf)</sup>。场景由 GPU 遍历的加速结构描述，表示为两级层次结构：底层几何体是顶点和索引缓冲区，顶层实例携带每实例变换矩阵，可针对动态对象逐帧更新<sup>[7](https://web.archive.org/web/20190722172647/https:/blogs.msdn.microsoft.com/directx/2018/03/19/announcing-microsoft-directx-raytracing/)</sup>。

编程接口遵循 DX12 模式。新的设备接口 ID3D12Device5 查询 GPU 光线追踪支持、确定加速结构内存需求并创建光线追踪管线状态对象（RTPSO）；光线追踪函数位于新的命令列表类型 ID3D12GraphicsCommandList4 中，包括用于构建加速结构的函数<sup>[16](https://cwyman.org/papers/rtg2019_Ch3_IntroductionToDirectXRaytracing.pdf)</sup>。RTPSO 要求应用程序预先指定所有可能执行的着色器，这降低了驱动复杂度并支持着色器调度优化<sup>[16](https://cwyman.org/papers/rtg2019_Ch3_IntroductionToDirectXRaytracing.pdf)</sup>。DXR 运行在 DX12 现有的图形和计算引擎上，而非引入新的 GPU 引擎，因为 DXR 从根本上是一种类计算工作负载，且 TraceRay 可从命中与未命中着色器内部调用，允许光线递归或多弹射效果<sup>[7](https://web.archive.org/web/20190722172647/https:/blogs.msdn.microsoft.com/directx/2018/03/19/announcing-microsoft-directx-raytracing/)</sup>。

## DirectX 12 Ultimate

DirectX 12 Ultimate 于2020年宣布，统一了 PC 与 Xbox Series X 的图形功能：带有 DX12 Ultimate 标志的硬件或 Xbox Series X 保证支持 DirectX Raytracing、可变速率着色、[网格着色器](https://www.edgepedia.org/zh/mesh-shader)和采样器反馈<sup>[3](https://devblogs.microsoft.com/directx/announcing-directx-12-ultimate/)</sup>。对应的功能级别 12_2 在 WDDM 2.0 驱动模型上强制要求着色器模型 6.5、光线追踪层级 1.1、可变着色速率层级 2、网格着色器层级 1 和采样器反馈层级 0.9<sup>[9](https://microsoft.github.io/DirectX-Specs/d3d/D3D12_FeatureLevel12_2.html)</sup>。

每项功能都改变一个管线阶段。网格着色器通过通用 GPU 计算扩展几何管线：不再用单个函数着色单个顶点或图元，而是一次运行整个计算线程组，可以使用组共享内存以及跨通道波内建函数等高级计算能力，并处理称为网格片的小型索引三角形列表。<sup>[3](https://devblogs.microsoft.com/directx/announcing-directx-12-ultimate/)</sup> 采样器反馈让着色器查询某次采样请求本需要纹理的哪一部分，而无需实际执行采样，从而为资产流送提供信息，使游戏能以更少显存渲染更大、更精细的纹理，获得更好的视觉质量、更短的加载时间和更少的卡顿<sup>[3](https://devblogs.microsoft.com/directx/announcing-directx-12-ultimate/)</sup>。兼容性向下保留：使用 DX12 Ultimate 功能的游戏仍兼容非 DX12 Ultimate 硬件，后者运行这些游戏时不具备新的视觉优势<sup>[3](https://devblogs.microsoft.com/directx/announcing-directx-12-ultimate/)</sup>。

## 超越图形：计算、工作图与机器学习时代

Direct3D 12 计算管线不包含固定功能单元，使其成为图形管线的完全可编程补充<sup>[13](https://learn.microsoft.com/en-us/windows/win32/direct3d12/pipelines-and-shaders-with-directx-12)</sup>。在此基础上，微软一直在构建机器学习接口。DirectX 通过着色器模型 6.9 中的协作向量向机器学习时代迈出了重要一步，首次让开发者可以直接从 HLSL 访问硬件加速的向量-矩阵运算，从而实现神经纹理压缩和神经辐射缓存等内联神经渲染技术<sup>[2](https://devblogs.microsoft.com/directx/evolving-directx-for-the-ml-era-on-windows/)</sup>。

另外两个部分对此加以扩展。DirectX 线性代数（DX LinAlg）在 HLSL 中增加了对矩阵-矩阵运算的原生支持，用于去噪和时域超分辨率等工作负载，这些工作负载超出了向量-矩阵基本运算所能处理的范围<sup>[2](https://devblogs.microsoft.com/directx/evolving-directx-for-the-ml-era-on-windows/)</sup>。DirectX 计算图编译器是一个新的 DirectX 机器学习编译器 API，旨在以原生级 GPU 性能执行完整模型图，将模型图转换为与 D3D12 队列和命令列表集成的优化工作负载，并跨 GPU 厂商提供自动图优化、内存规划和算子融合<sup>[2](https://devblogs.microsoft.com/directx/evolving-directx-for-the-ml-era-on-windows/)</sup>。

## 与 Vulkan、Metal 和 OpenGL 的对比

这四个 API 按平台及其暴露程度划分市场。在 DirectX 内部，属于微软的图形 API 是 Direct3D；[Khronos Group](https://www.edgepedia.org/zh/khronos-group) 负责管理跨平台的 Vulkan；苹果为其自有平台提供 Metal；OpenGL 是一个跨多家厂商的成熟 API，其配套的 [OpenGL ES](https://www.edgepedia.org/zh/opengl-es) 面向嵌入式和移动设备。<sup>[11](https://techbuzzonline.com/graphics-api-comparison-game-developers-beginners-guide/)</sup> Vulkan 覆盖桌面和移动平台，而微软不允许 Xbox Series 主机上使用 DirectX 12 以外的任何图形 API<sup>[11](https://techbuzzonline.com/graphics-api-comparison-game-developers-beginners-guide/)</sup><sup> • </sup><sup>[18](https://carette.xyz/posts/state_of_vulkan_2024/)</sup>。在 macOS 上，苹果的 OpenGL 实现已弃用，苹果平台上的 Vulkan 通常依赖 MoltenVK 之类的可移植性实现<sup>[11](https://techbuzzonline.com/graphics-api-comparison-game-developers-beginners-guide/)</sup>。

使用便利性也相应不同。Vulkan 和 Direct3D 12 等显式 API 直接暴露队列、命令记录、资源状态和同步，这有助于引擎跨 CPU 线程扩展工作，但要求应用程序管理更多细节<sup>[11](https://techbuzzonline.com/graphics-api-comparison-game-developers-beginners-guide/)</sup>。队列抽象在现代 API 之间是平行的：Vulkan 使用 vk::Queue，DirectX 12 使用 ID3D12CommandQueue，Metal 使用 MTLCommandQueue，而 OpenGL 没有对应物<sup>[12](https://alain.xyz/blog/comparison-of-modern-graphics-apis)</sup>。着色器管线也不同：Vulkan 要求外部着色器编译器生成 SPIR-V，如 glslang 或 DirectX Shader Compiler，而 OpenGL 在库中包含着色器编译，并自 OpenGL 4.6 起可选支持 SPIR-V<sup>[12](https://alain.xyz/blog/comparison-of-modern-graphics-apis)</sup>。[PC Gamer](https://www.edgepedia.org/zh/pc-gamer) 的历史回顾指出，微软将其近期硬件功能——DXR、可变速率着色、网格着色器和采样器反馈——部分定位为遏制 Vulkan（OpenGL 的精神继承者）的采用<sup>[17](https://www.pcgamer.com/history-direct-x-windows-microsoft/)</sup>。

## 数据说话

在 Windows 游戏领域，采用率强烈偏向 DirectX。2026年9月，92.19% 的 Steam GPU 支持 DirectX 12，环比上升0.74个百分点，而仅支持 DirectX 11 的 GPU 已降至0.44%；[Windows 11](https://www.edgepedia.org/zh/windows-11) 64位占 Steam 客户端的74.33%<sup>[10](https://store.steampowered.com/hwsurvey/directx/)</sup>。

发布数量也说明同样的问题。新发布的 Vulkan 应用数量从2022年的35个降至2023年的9个，而2023年发布的游戏中有88款使用 DirectX 12，16款使用 OpenGL<sup>[18](https://carette.xyz/posts/state_of_vulkan_2024/)</sup>。PCGamingWiki 列出了自2015年以来超过430款使用 DirectX 12 或 DirectX 12 Ultimate 的游戏，而支持 Vulkan 的游戏引擎有11个，自2020年 DirectX 12 Ultimate 发布后，DirectX 12 在新发布中超过 Vulkan<sup>[18](https://carette.xyz/posts/state_of_vulkan_2024/)</sup>。LunarG 2024年 Vulkan 调查仅收到275份开发者回复，低于2021年的364份<sup>[18](https://carette.xyz/posts/state_of_vulkan_2024/)</sup>。Vulkan 的优势在别处：已发布的 Vulkan 应用中41.7%面向 Windows，30.2%面向 Linux，Android 占16.2%，而微软不允许 Xbox Series 主机上使用 DirectX 12 以外的任何图形 API<sup>[18](https://carette.xyz/posts/state_of_vulkan_2024/)</sup>。

## 性能：来源存在分歧

真实世界中 DirectX 12 与 Vulkan 的性能确实参差不齐，可信来源也存在分歧。在《荒野大镖客2》的对比中，ComputerBase 测得在1080p 下 RTX 2070 上 DirectX 12 平均帧率快约2%，但99.8百分位帧时间好约16%，1440p 下好约66%；KitGuru 对同一游戏的测试发现 Vulkan 在1080p 下平均帧率领先最高约6%，而 DirectX 12 的1%低帧更好，基准测试中好16%至17%，1080p 游戏过程中好29%至48%，1440p 下好53%至58%<sup>[19](https://eveestatistic.com/blog/vulkan-vs-directx-12-frame-time-benchmark-2026)</sup>。在3DMark Steel Nomad 中，ComputerBase 测得 Vulkan 在 RTX 4090 上快约12%，在 RTX 4080 Super 上快10%，而 Intel Arc A770 则偏向 DirectX 12 约11%<sup>[19](https://eveestatistic.com/blog/vulkan-vs-directx-12-frame-time-benchmark-2026)</sup>。

开发者情绪也沿同样路线分化。微软自家 DX12 Ultimate 发布公告下的一条评论称，DX12 在24款兼容 DX12 的 GPU 上容易崩溃和卡顿，称 Vulkan 在性能上“彻底碾压”了它<sup>[3](https://devblogs.microsoft.com/directx/announcing-directx-12-ultimate/)</sup>。Stardock 实测其 DX12 和 Vulkan 版本相较 DirectX 11 提升约20%，同时 QA 预算翻倍或增至三倍且仍有驱动缺陷，这从另一角度勾勒了权衡：显式 API 可能有回报，但工程成本是真实的<sup>[15](https://www.gamedeveloper.com/programming/living-with-vulkan-and-directx-12)</sup>。

## 近期发展

微软2023年之后的节奏是持续扩展 DirectX 12 Ultimate，而非推出新版本号：与其等待“DirectX 13”，不如将 DirectX 12 Ultimate 作为可扩展平台不断扩展，在保持 PC 与 Xbox Series X/S 平台一致性的同时添加 DXR、网格着色器和 VRS 等功能<sup>[5](https://www.heise.de/en/background/DirectX-30-years-of-Windows-gaming-from-DOOM95-to-ray-tracing-10678945.html)</sup>。近期最显眼的新增功能在机器学习方面：着色器模型 6.9 中的协作向量、DirectX 线性代数矩阵-矩阵运算以及 DirectX 计算图编译器，它们共同将神经工作负载从独立的机器学习运行时移入 HLSL 和标准 D3D12 提交路径<sup>[2](https://devblogs.microsoft.com/directx/evolving-directx-for-the-ml-era-on-windows/)</sup>。

## References

1. [What Is DirectX? Computer Hope](https://www.computerhope.com/jargon/d/directx.htm)
2. [Evolving DirectX for the ML Era on Windows, DirectX Developer Blog](https://devblogs.microsoft.com/directx/evolving-directx-for-the-ml-era-on-windows/)
3. [Announcing DirectX 12 Ultimate, DirectX Developer Blog](https://devblogs.microsoft.com/directx/announcing-directx-12-ultimate/)
4. [DirectX 12: A Major Stride for Gaming, NVIDIA Blog (archived)](https://web.archive.org/web/20150911233026/http:/blogs.nvidia.com/blog/2014/03/20/directx-12/)
5. [DirectX: 30 years of Windows gaming from DOOM95 to ray tracing, heise online](https://www.heise.de/en/background/DirectX-30-years-of-Windows-gaming-from-DOOM95-to-ray-tracing-10678945.html)
6. [What is DirectX 12? Microsoft Learn](https://learn.microsoft.com/en-us/windows/win32/direct3d12/what-is-directx-12-)
7. [Announcing Microsoft DirectX Raytracing! (archived)](https://web.archive.org/web/20190722172647/https:/blogs.msdn.microsoft.com/directx/2018/03/19/announcing-microsoft-directx-raytracing/)
8. [DirectX Raytracing (DXR) Functional Spec, DirectX-Specs](https://microsoft.github.io/DirectX-Specs/d3d/Raytracing.html)
9. [Feature Level 12_2, DirectX-Specs](https://microsoft.github.io/DirectX-Specs/d3d/D3D12_FeatureLevel12_2.html)
10. [Steam Hardware & Software Survey: September 2026, Valve](https://store.steampowered.com/hwsurvey/directx/)
11. [Graphics APIs for Game Development: Direct3D, Vulkan, Metal, and OpenGL, TechBuzz Online](https://techbuzzonline.com/graphics-api-comparison-game-developers-beginners-guide/)
12. [A Comparison of Modern Graphics APIs, Alain Galvan](https://alain.xyz/blog/comparison-of-modern-graphics-apis)
13. [Pipelines and Shaders with Direct3D 12, Microsoft Learn](https://learn.microsoft.com/en-us/windows/win32/direct3d12/pipelines-and-shaders-with-directx-12)
14. [Differences in memory management between Direct3D 12 and Vulkan, Adam Sawicki](https://www.asawicki.info/articles/memory_management_vulkan_direct3d_12.php)
15. [Living with Vulkan and DirectX 12, Game Developer](https://www.gamedeveloper.com/programming/living-with-vulkan-and-directx-12)
16. [Introduction to DirectX Raytracing, Ray Tracing Gems chapter 3 (Wyman)](https://cwyman.org/papers/rtg2019_Ch3_IntroductionToDirectXRaytracing.pdf)
17. [How DirectX defined PC gaming, PC Gamer](https://www.pcgamer.com/history-direct-x-windows-microsoft/)
18. [The state of Vulkan apps in 2024, carette.xyz](https://carette.xyz/posts/state_of_vulkan_2024/)
19. [Vulkan vs DirectX 12: 2026 Frame-Time Test, eveestatistic.com](https://eveestatistic.com/blog/vulkan-vs-directx-12-frame-time-benchmark-2026)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 19, 2026; Oct 15, 2026 · Edited: Sep 19, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Development tools and collaboration infrastructure › Frameworks, libraries, and APIs › Graphics and multimedia APIs

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/directx

English original: https://www.edgepedia.org/directx
