I've created an 'official' location to host the legacy DirectX SDK Samples on GitHub: https://github.com/microsoft/DirectX-SDK-Samples. These are all the original samples updated to use the
Microsoft.DXSDK.D3DX
NuGet package to get the D3DX9, D3DX10, and D3DX11 library.
This repo contains only a subset of legacy DirectX SDK samples. These were reworked extensively to remove all use of legacy D3DX11, modernize the C++ code, and generally have been 'mucked with' for years. I'm keeping these around for reference as they are significantly different than the ones in the legacy DirectX SDK. I renamed this repo to make it distinct from a fork of the Microsoft org repo.
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
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 [email protected] 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.