Skip to main content
The GDK ships with reference samples that demonstrate platform features end to end. Use them to verify your install, learn API patterns, and start new projects from a known-good baseline.

Where to find samples

Samples live in the XBOX-GDK-Samples GitHub repository and locally under %GameDK%\Samples after install.

Sample categories

  • Graphics: Raytracing, mesh shaders, variable rate shading (VRS), and sampler feedback streaming.
  • System: Async and task queues, packaging, game saves, and Persistent Local Storage.
  • Audio: XAudio2, spatial audio, and Game Chat 2.
  • Networking: PlayFab Party, XCurl, and multiplayer.
  • Store: XStore, in-app purchase, and DLC.
  • Live: XSAPI achievements, social, multiplayer, and leaderboards.

Next steps

If a sample builds and runs on your machine, your environment is ready. Create your own project.

Build your first title

Select a Visual Studio template for PC, XBOX, or a shared codebase.

See also

Last modified on August 20, 2026