Awesome
DXUT for Direct3D 11
http://go.microsoft.com/fwlink/?LinkId=320437
Copyright (c) Microsoft Corporation.
August 14, 2024
DXUT is a "GLUT"-like framework for Direct3D 11.x Win32 desktop applications; primarily samples, demos, and prototypes.
This code is designed to build with Visual Studio 2019 (16.11) or Visual Studio 2022. Use of the Windows 10 May 2020 Update SDK (19041) or later is required.
These components are designed to work without requiring any content from the legacy DirectX SDK. For details, see Where is the DirectX SDK?.
This project is 'archived'. It is still available for use for legacy projects or when using older developer education materials, but use of it for new projects is not recommended.
Disclaimer
DXUT is being provided as a porting aid for older code that makes use of the legacy DirectX SDK, the deprecated D3DX9/D3DX11 library, and the DXUT11 framework. It is a cleaned up version of the original DXUT11 that will build with the Windows 8.1 / 10 SDK and does not make use of any legacy DirectX SDK or DirectSetup deployed components.
The DXUT framework is for use in Win32 desktop applications. It not usable for Universal Windows Platform apps, Windows Store apps, Xbox, or Windows phone.
This version of DXUT only supports Direct3D 11, and therefore is not compatible with Windows XP or early versions of Windows Vista.
Documentation
Documentation is available on the GitHub wiki.
Notices
All content and source code for this package are subject to the terms of the MIT License.
For the latest version of DXUT for Direct3D 11, please visit the project site on GitHub.
The legacy versions of DXUT for DX11/DX9 and DXUT for DX10/DX9 version are on GitHub. These both require using Microsoft.DXSDK.D3DX.
Release Notes
FOR SECURITY ADVISORIES, see GitHub.
For a full change history, see CHANGELOG.md.
-
Starting with the July 2022 release, the
bool forceSRGB
parameter for DDSTextureLoaderEx
functions is now aDDS_LOADER_FLAGS
typed enum bitmask flag parameter. This may have a breaking change impact to client code. Replacetrue
withDDS_LOADER_FORCE_SRGB
andfalse
withDDS_LOADER_DEFAULT
. -
There are known codegen issues when mixing the library built with Visual C++ and the sample built with recent builds of clang/LLVM for Windows. Building both the library and the sample using the same complier avoids the issue.
Support
For questions, consider using Stack Overflow with the dxut tag.
Code of Conduct
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
The DXUT library is the work of Shanon Drone, Jason Sandlin, and David Tuft with contributions from David Cook, Kev Gee, Matt Lee, and Chuck Walbourn.
Samples
- Direct3D Tutorial08 - 10
- BasicHLSL11, EmptyProject11, SimpleSample11
- DXUT+DirectXTK Simple Sample
These are hosted on GitHub