Official DirectX headers available under an open source license
DirectX-Headers is Microsoft's official repository for Direct3D 12 headers, released under the MIT license as an alternative to the traditional Windows SDK license. The project provides core D3D12 headers along with helper utilities including d3dx12.h, and crucially offers WSL (Windows Subsystem for Linux) support through shim headers that enable D3D12 development in Linux build environments. The repository is built around CMake and Meson build systems, with multiple consumption methods available including git submodules, package managers like vcpkg and NuGet, and pkg-config integration.