This repo contains game development samples written by the Microsoft Xbox Advanced Technology Group.
Kits
contains support code used by the samplesMedia
contains media files used by the samplesUWPSamples
contains samples for the Universal Windows PlatformAudio
IntroGraphics
Graphics
System
Tools
PCSamples
contains samples for the classic Win32 desktop PC platformIntroGraphics
XDKSamples
contains samples the Xbox One platform using the Xbox One XDKAudio
IntroGraphics
Graphics
System
Tools
Spatial audio | Simple playback UWP | Simple playback XDK | 3D playback UWP | Advanced audio UWP | Advanced audio XDK |
XAudio2: Basic audio | UWP | XDK |
XAudio2: 3D playback | UWP | XDK |
WASAPI: Playback | UWP | XDK |
WASAPI: Capture | UWP | XDK |
Basic drawing | UWP DX11 | UWP DX12 | XDK DX11 | XDK DX12 | PC DX11 | PC DX12 |
Basic texturing | UWP DX11 | UWP DX12 | XDK DX11 | XDK DX12 | PC DX11 | PC DX12 |
Basic lighting | UWP DX11 | UWP DX12 | XDK DX11 | XDK DX12 | ||
Bezier | UWP DX11 | UWP DX12 | XDK DX11 | XDK DX12 | ||
DirectCompute | UWP DX11 | UWP DX12 | XDK DX11 | XDK DX12 | ||
DirectX Tool Kit | UWP DX11 | UWP DX12 | XDK DX11 | XDK DX12 | PC DX11 | PC DX12 |
Instancing | UWP DX11 | UWP DX12 | XDK DX11 | XDK DX12 | ||
Multisample Antialiasing | UWP DX11 | UWP DX12 | XDK DX11 | XDK DX12 | ||
Xbox One Device Setup | XDK DX11 | XDK DX12 |
Physically Based Rendering | UWP | XDK | ||
High-Dynamic Range Rendering | UWP DX11 | UWP DX12 | XDK DX11 | XDK DX12 |
UWP | CPU Sets | Memory Statistics | |
XDK | Async I/O | Data Breakpoints | Memory Banks |
System Information | UWP | XDK |
DirectXMath | UWP | XDK |
Gamepad | UWP | XDK | UWP (C++/WinRT) | XDK (C++/WinRT) |
Gamepad Vibration | UWP | XDK | ||
Raw Game Controller | UWP | |||
FlightStick | XDK | |||
Input | Interfacing UWP | Mouse UWP | User-pairing UWP |
Process Lifetime Management | UWP PLM | XDK PLM | Extended Execution |
Localization | UWP | XDK |
Xbox One X Front Panel | Basic | Text | Demo | Dolphin | Game |
Error lookup |
CrashDump | Symbol Proxy | OS Primitive | TexConv for Xbox |
FrontPanel Font | FrontPanel Font Viewer |
- Windows 10 Anniversary Update (Build 14393), Creators Update (Build 15063), or Fall Creators Update (Build 16299)
- Visual Studio 2017 (v15.4 update) with the Universal Windows Platform development workload, the C++ Universal Windows Platform tools component, and Windows 10 SDK (10.0.16299.0).
- Xbox One Development Kit
- Xbox One XDK (specific version requirements covered in each sample's readme)
- Visual Studio 2015 or Visual Studio 2017 (via upgrade in place)
- Visual Studio 2015 Update 3 -or- Visual Studio 2017 (via upgrade in place) with the Desktop development with C++ workload and Windows 8.1 SDK component.
- DirectX 11: Windows 7 Service Pack 1 with the DirectX 11.1 Runtime via KB2670838 or later.
- DirectX 12: Windows 10; requires the Windows 10 Anniversary Update SDK (14393) or later to build.
When compiling and running a sample, the file name of the sample executable will be sent to Microsoft to help track sample usage. To opt-out of this data collection, you can remove the block of code in Main.cpp
labeled Sample Usage Telemetry.
For more information about Microsoft's privacy policies in general, see the Microsoft Privacy Statement.
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.