/directx-sdk-samples

This repo contains Direct3D 11, XInput, and XAudio2 samples C++ samples from the legacy DirectX SDK updated to build using the Windows 10 SDK

Primary LanguageC++MIT LicenseMIT

DirectX SDK Samples

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.

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.

Notices

All content and source code for this package are subject to the terms of the MIT License.

Support

For questions, consider using Stack Overflow with the direct3d11 tag, or the DirectX Discord Server in the dx9-dx11-developers channel.

Contributing

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.

Trademarks

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.

Credits

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.