I have migrated this content to a more 'official' location on GitHub: https://github.com/microsoft/DirectX-SDK-Samples. This repo will be deleted in a few months.
This repo contains Direct3D 11, XInput, and XAudio2 samples that originally shipped in the legacy DirectX SDK. These are all Windows desktop applications for Windows 7 Service Pack 1 or later.
They have all been cleaned up to build using the Windows 10 SDK, and DO NOT require the DirectX SDK to build. Projects for Visual Studio 2019 are provided, and can be upgraded to VS 2022.
- Microsoft Docs
- Where is the DirectX SDK (2021 Edition)?
- DirectX SDK Samples Catalog
- The Zombie DirectX SDK
The remainder of the legacy DirectX SDK samples for Direct3D 10, Direct3D 9, etc. can be found directx-sdk-legacy-samples. These make use of the Microsoft.DXSDK.D3DX NuGet so also DO NOT require the legacy DirectX SDK to build.
All content and source code for this package are subject to the terms of the MIT License.
For questions, consider using Stack Overflow with the direct3d11 tag, or the DirectX Discord Server in the dx9-dx11-developers channel.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com 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.
A full list of credits for all these samples is lost to history. They have been developed by various Microsoft engineers over many years.
A partial list of contributors includes: Dave Bonora, David Cook, Shanon Drone, Kev Gee, Xin Huang, Matt Lee, Cody Pritchard, Jason Sandlin, David Tuft, and Chuck Walbourn.