-
Notifications
You must be signed in to change notification settings - Fork 18
Home
This repo contains samples related for the DirectX Tool Kit for DirectX 11 and DirectX Tool Kit for DirectX 12
The SimpleSample demo shows how to link to the DirectXTK library and demonstrates the use of several DirectXTK components:
- SimpleMath wrapper for DirectXMath
- SpriteBatch is used to render a Windows logo
- SpriteFont and SpriteBatch are used to render text
- GeometricPrimitive is used to render a teapot
- PrimitiveBatch is used to render the grid
- Model is used to render a mesh loaded from the legacy DirectX SDK SDKMESH file
Tiny.SDKMESH
- Several textures are loaded using DDSTextureLoader
- Plays a looping sound and timed 'one-shot' audio
- Demonstrates a simple handling of audio device scenarios for DirectX for Audio
This is the universal Windows app version of the SimpleSample for Windows 10.
-
SimpleSampleWindows10
is the Direct3D 11 simple sample -
SimpleSampleWindows10_XAML
is a DirectX+XAML simple sample -
SimpleSampleWindows10DX12
is the Direct3D 12 simple sample
-
SimpleSampleWin32
is the Direct3D 11 simple sample -
SimpleSampleWin32DX12
is the Direct3D 12 simple sample
MSDN Code Gallery (no audio)
MSDN Code Gallery (Windows 8.x using XAudio 2.8)
MSDN Code Gallery (DirectX SDK using XAudio 2.7)
Versions also exist for the Xbox One XDK DX11 | DX12
SimpleSampleWindows81
is the Windows 8.1 Store simple sample.
SimpleSampleWindowsPhone81
is the Windows Phone 8.1 simple sample.
January 25, 2013 - Initial release (Win32)
January 29, 2013 - Initial release (Windows 8.0)
February 8, 2013 - Initial release (Windows phone 8.0)
February 28, 2014 - Initial release (Win32 DirectX Tool Kit)
July 1, 2013 - Updated for July 2013 release of DirectXTK (Windows 8.1 initial release)
October 28, 2013 - Updated for October 2013 release of DirectXTK
February 28, 2014 - Update for the February 2014 release of DirectXTK
March 6, 2014 - Updated for DirectXTK for Audio and February 2014 release of DirectXTK
July 24, 2014 - Updated for July 2014 release of DirectXTK
November 24, 2014 or later - See releases
The UWP samples are all deployed for testing, and will remain on your system until they are uninstalled. To remove them, you can use the following PowerShell script:
$dxtksimple = @(
"7cb51bab-3b6e-4add-8458-90cdbec86024",
"e3d88ade-aa5b-4784-bb84-5290369c8738",
"e5328dea-cdde-4151-b1b7-42b0df404cd2"
)
$dxtksimple | % { Get-AppxPackage -Name $_ } | Remove-AppxPackage
All content and source code for this package are subject to the terms of the MIT License.
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.
- Visual Studio 2022
- Visual Studio 2019