directxtk12v2026-05-07
- Updated
A collection of helper classes for writing DirectX 12 code in C++.
- Project website: https://github.com/Microsoft/DirectXTK12
- Documentation: https://github.com/microsoft/DirectXTK12/wiki
#Usage
The DirectX Tool Kit for DX12 package provides CMake targets
find_package(directxtk12 CONFIG REQUIRED)
target_link_libraries(main PRIVATE Microsoft::DirectXTK12)#Features
Default feature: xaudio2-9
#gameinput
Build using GameInput API for input processing
Platforms: windows & (arm64 | x64) & !uwp
- ✅windows-arm64
- ✅windows-x64
- ❌
windows-x86
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (through gameinput)
- vcpkg-cmake-config (through gameinput)
#spectre
Build Spectre-mitigated library
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#tools
MakeSpriteFont and xwbtool command-line tools
Platforms: windows & !uwp & !xbox & (x64 | arm64 | arm64ec)
- ✅windows-arm64
- ✅windows-x64
- ❌
windows-x86
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#xaudio2-9default
Build with XAudio 2.9 support for Windows 10/11
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#xinput
Build using XInput for input processing
Platforms: windows & !uwp & !xbox
- ✅windows
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#Dependencies
directx-headers
Platforms:
windows & !xbox- directxmath
ms-gdkx
Platforms:
xbox
No transitive dependencies.
#Host Dependencies
directx-dxc
Platforms:
windows & !xbox- vcpkg-cmake
- vcpkg-cmake-config
and one transitive dependency:
zlib (through directx-dxc)
Platforms:
linux & !static
#Used By
No ports use this.
#Host Tool For
No ports use this.
#Contributors
sdcb
flysha
Robert Schumacher
Victor Romero
pravic
Rémy Tassoux
Ehsan
Tatsuro Shibamura
Chuck Walbourn
Billy O'Neal
autoantwort