-
Notifications
You must be signed in to change notification settings - Fork 411
Home
http://go.microsoft.com/fwlink/?LinkID=615561
The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++.
See this blog post and this update for the DirectX Tool Kit.
See this post and this update for DirectX Tool Kit for Audio.
DirectXTK library
DirectX 11 is supported on Windows 7, Windows 8.x, Windows 10, and Windows 11. Use of DirectX 11 for beginners is highly recommended. A version of DirectX Tool Kit for DirectX 11 is available on GitHub.
DirectX 12 is an expert API for Windows 10 / Windows 11 which builds on knowing the ins & outs of DirectX 11. DirectX 12 is an extremely low-level API designed for graphic experts who have a solid understanding of the architecture of modern GPU hardware. Both DirectX 11 and DirectX 12 provide access to the same hardware features on Windows 10, but drive the hardware in different ways which can allow a well-optimized DirectX 12 engine to achieve much lower CPU overhead than in DirectX 11.
Note that advanced hardware features like Shader Model 6, DirectX Raytracing, Amplification & Mesh Shaders, and other "DirectX Ultimate" features do in fact require DirectX 12 as they are not exposed in DirectX 11. The statement above is still 100% true for the core graphics functionality used by DirectX Tool Kit.
For questions, consider using Stack Overflow with the directxtk tag, or the DirectX Discord Server in the dx12-developers channel.
For bug reports and feature requests, please use GitHub issues for this project.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
The DirectX Tool Kit for DirectX 11 is the work of Shawn Hargreaves and Chuck Walbourn, with contributions from Aaron Rodriguez Hernandez, and Dani Roman.
The DirectX Tool Kit for DirectX 12 is the work of Pete Lewis, Justin Saunders, and Chuck Walbourn based heavily on the DirectX Tool Kit for DirectX 11.
Thanks to Shanon Drone for the SDKMESH file format.
Thanks to Adrian Tsai for the geodesic sphere implementation.
Thanks to Garrett Serack for his help in creating the NuGet packages for DirectX Tool Kit.
Thanks to Pete Lewis and Justin Saunders for the normal-mapped and PBR shaders implementation.
Thanks for Travis Johnson for the mGPU support.
Thanks to Roberto Sonnino for his help with the CMO format and the VS Starter Kit animation.
All content and source code for this package are subject to the terms of the MIT License.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
- Universal Windows Platform apps
- Windows desktop apps
- Windows 11
- Windows 10
- Xbox One
- Xbox Series X|S
- x86
- x64
- ARM64
- Visual Studio 2022
- Visual Studio 2019 (16.11)
- clang/LLVM v12 - v18
- MinGW 12.2, 13.2
- CMake 3.20