microsoft/DirectX-Graphics-Samples

This repo contains the DirectX Graphics samples that demonstrate how to build graphics intensive applications on Windows.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 1 hour ago
Added to GitGenius on September 9th, 2026
Created on June 3rd, 2015
Open Issues & Pull Requests: 112 (+0)
GitHub issues: Enabled
Number of forks: 2,171
Total Stargazers: 6,835 (+0)
Total Subscribers: 407 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 9.2 hours
Mean response time: 69.8 days
90th percentile: 182.5 days
Tracked items: 41

How this project is maintained

94% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 64% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 48
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 826 days
Stale 30+ days: 47
Stale 90+ days: 46

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • question (17)
  • samples (16)
  • bug (9)
  • miniengine (8)
  • sdklayers (4)
  • help wanted (2)
  • tools (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

DirectX Graphics Samples is a collection of code examples demonstrating how to build graphics-intensive applications using DirectX 12 on Windows.

The repository addresses the challenge of learning DirectX 12 by breaking down specific features and usage scenarios into focused, bite-sized samples. Rather than presenting monolithic examples, each sample isolates a particular capability—such as mesh shaders, variable rate shading, raytracing, or execute indirect—allowing developers to study individual features without navigating unrelated complexity. This modular approach helps developers understand how to apply specific DirectX 12 techniques to their own projects.

The samples span from introductory API demonstrations to advanced features like DirectX Raytracing and mesh shaders. The repository also includes guides such as the Advanced Shader Delivery walkthrough, which covers shader precompilation and deployment workflows. Additionally, the MiniEngine provides a DirectX 12 engine starter kit with reusable core library components and platform abstractions, designed to serve as both a learning resource and a foundation for new graphics applications. Developers should choose this repository if they are building graphics-intensive Windows applications and want to understand DirectX 12 best practices through concrete, working examples rather than documentation alone.

The project maintains active engagement with its community through a Discord server, YouTube tutorials, and regular blog posts on the DirectX development blog. The samples are organized to support learning progression, with simpler feature demonstrations available alongside more complex multi-engine scenarios. The repository includes both sample code and architectural guidance through the MiniEngine, positioning it as both a reference implementation and a practical starting point for new DirectX 12 projects.