
/test: Simple CMake/Meson projects for validating the headers can be included in a given environment. /src/dxguids.cpp: This cpp file can be used as a replacement for linking against dxguid.lib on Windows, and as a convenient translation unit to define GUIDs without multiple definitions for WSL. /include/dxguids: This header allows an application to use uuidof() consistently between Windows and WSL, instead of _uuidof(). /include/wsl: These files are provided as a shim to be able to include the D3D12 headers from a Linux build environment, without requiring the rest of the Windows SDK. /include/directx: These files are the core headers for using D3D12, plus d3dx12.h, which is a helper and does not cross the boundaries of the D3D12 API. Meson is also available for inclusion as a subproject/wrap. CMake is provided, and can be referenced either via subdirectory() or after installation to a system location. /: Build files are available here for quick integration. Make sure that you visit the DirectX Landing Page for more resources for DirectX developers. These headers are made available under the MIT license rather than the traditional Windows SDK license.Īdditionally, this repository hosts several helpers for using these headers.
Not all versions of Windows can run the latest versions of DirectX.This repository hosts the official Direct3D 12 headers. If you have Windows 10, then you already have the latest version of DirectX installed. To get the latest version of DirectX for your version of Windows, use Windows Update. We recommend that you select Yes to help ensure that your drivers have been signed by a publisher that has verified their authenticity. The first time you use the DirectX Diagnostic Tool, you might be asked whether you want to check if your drivers are digitally signed. In the DirectX Diagnostic Tool, select the System tab, then check the DirectX version number under System Information. To check which version of DirectX is on your PC using the DirectX Diagnostic Tool, select the Start button and type dxdiag in the search box, then press Enter. If your PC doesn't have the right version of DirectX installed (the product box should tell you which one you need), your game might not work properly. DirectX is a suite of multimedia technologies required by many Windows games.