27 Home
Chuck Walbourn редактировал(а) эту страницу 2022-12-06 23:58:56 -08:00

http://go.microsoft.com/fwlink/?LinkId=320437

GitHub Release Date GitHub last commit

Azure DevOps Win32 Azure DevOps VS 2022

Azure DevOps CMake Azure DevOps CMake VS 2022 Azure DevOps MinGW

DirectX Logo DXUT for Direct3D 11 is a "GLUT"-like framework for Direct3D 11.x Windows desktop applications; primarily samples, demos, and prototypes.

See this blog post for an overview

DXUT framework

Samples

Resources

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.x 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 Windows Store apps on Windows 8.x or Windows RT. It does not support Windows phone or Xbox One. It does not support the Universal Windows Platform.
  • This version of DXUT only supports Direct3D 11, and therefore is not compatible with Windows XP or early versions of Windows Vista.

For the most part the DXUT device enumeration and windows message handling is overly complex and has a bit too much of the 'everything and the kitchen sink' going on. It includes a lot of stuff for older versions of the OS which are not really relevant, and it has some really strange quirks and buggy behaviors in places as it's been ported multiple times dating back to DirectX 8. New projects should strongly consider avoiding it.

For utility support like loading textures, rendering models, etc, consider the DirectX Tool Kit for DX11. For the basic swapchain and render loop, look at the Direct3D Game VS Template. For modern device enumeration and various swapchain optional features, see DeviceResources.

vcpkg C++ Package Manager

DXUT has a vcpkg installation port as well.

Porting from D3DX

See this post for a complete listing of D3DX equivalents.

Support

For questions, consider using Stack Overflow with the dxut tag.

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

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.