directxtk12-tutorial
Walk through the DirectX Tool Kit for DirectX 12 Getting Started tutorial step by step. Use this skill when asked to follow the tutorial, set up a new DirectX 12 project, or learn how to use DirectX Tool Kit for DX12 from scratch.
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 1.8k
- Forks
- 463
01 前言 Front Matter
- name
- directxtk12-tutorial
- license
- MIT
- metadata
- { "author": "chuckw", "version": "1.0" }
- description
- Walk through the DirectX Tool Kit for DirectX 12 Getting Started tutorial step by step. Use this skill when asked to follow the tutorial, set up a new DirectX 12 project, or learn how to use DirectX Tool Kit for DX12 from scratch.
02 资源文件 12
- 资产文件assets/cat.png14.9 KB
- 资产文件assets/courier.spritefont61.0 KB
- 参考文档reference/nextsteps.md2.0 KB
- 参考文档reference/step0.md4.9 KB
- 参考文档reference/step1.md8.3 KB
- 参考文档reference/step2.md4.8 KB
- 参考文档reference/step3.md6.3 KB
- 参考文档reference/step4.md8.4 KB
- 参考文档reference/step5.md4.5 KB
- 参考文档reference/step6.md8.0 KB
- 参考文档reference/step7.md7.9 KB
- 参考文档reference/tutorial-steps.md1.6 KB
03 SKILL.md 正文
DirectX Tool Kit for DirectX 12 — Getting Started Tutorial
This skill walks the user through the Getting Started tutorial for DirectX Tool Kit for DirectX 12 step by step.
Follow each step in order. Each step builds on the previous one.
At the end of each step, ask the user if they would like to see the Technical Notes section (which provides a brief overview of the underlying Direct3D 12 APIs and objects used by the toolkit in that step) or skip it and move on to the next step.
Tutorial Steps
| Step | Title | Reference |
|---|---|---|
| 0 | Prerequisites | reference/step0.md |
| 1 | Project Setup | reference/step1.md |
| 2 | Building the Project | reference/step2.md |
| 3 | Adding DirectX Tool Kit | reference/step3.md |
| 4 | Sprites and Textures | reference/step4.md |
| 5 | Drawing Text | reference/step5.md |
| 6 | Simple Rendering | reference/step6.md |
| 7 | 3D Shapes | reference/step7.md |
Assets
The assets/ folder contains files needed during the tutorial:
cat.png— sprite texture used in Step 4courier.spritefont— pre-built sprite font used in Step 5
Full Tutorial Sequence
See reference/tutorial-steps.md for the complete list of planned tutorial lessons beyond these initial seven steps.
04 同仓库更多 Skills
directxtk12-usage
Guide for integrating DirectX Tool Kit for DirectX 12 into new projects and understanding the library's API surface. Use this skill when asked about how to use DirectXTK12, set up a new project, or get an overview of available classes and functionality.
release
Guide for performing the DirectX Tool Kit for DirectX 12 release process. Use this skill when asked to help with releasing a new version, publishing packages, or updating ports.