# directx-sdk-samples **Repository Path**: mirrors_walbourn/directx-sdk-samples ## Basic Information - **Project Name**: directx-sdk-samples - **Description**: 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 Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-01-07 - **Last Updated**: 2026-04-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DirectX SDK Samples > 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](https://docs.microsoft.com/en-us/windows/desktop/directx-sdk--august-2009-) * [Where is the DirectX SDK (2021 Edition)?](https://aka.ms/dxsdk) * [DirectX SDK Samples Catalog](https://walbourn.github.io/directx-sdk-samples-catalog/) * [The Zombie DirectX SDK](https://aka.ms/AA4gfea) ## Notices All content and source code for this package are subject to the terms of the [MIT License](https://github.com/walbourn/directx-sdk-samples/blob/main/LICENSE). ## Support For questions, consider using [Stack Overflow](https://stackoverflow.com/questions/tagged/direct3d11) with the *direct3d11* tag, or the [DirectX Discord Server](https://discord.gg/directx) in the *dx9-dx11-developers* channel. ## Contributing This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto: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](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). 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.