# walbourn/directx-sdk-samples-reworked

This repo contains Direct3D 11, XInput, and XAudio2 samples C++ samples from the legacy DirectX SDK updated to build using the Windows 10 SDK

Repository: https://github.com/walbourn/directx-sdk-samples-reworked
Canonical: https://ross.abutalabs.com/products/directx-sdk-samples-reworked
Homepage: https://walbourn.github.io/directx-sdk-samples-catalog/
Language: C++
License: MIT
License Family: permissive
Topics: directx-sdk
Archived: true
Last push: 2025-05-22T18:24:22+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 22, release rhythm 8, longevity 100
- inputs: {"age_days": 4153, "days_push": 468, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1457, forks 381 (observed 2026-08-28T04:04:47.024205+00:00)

## What it is
A collection of legacy DirectX SDK C++ samples for Direct3D 11, XInput, and XAudio2, reworked to build with the Windows 10 SDK without the legacy DirectX SDK. It serves as reference code for Windows desktop graphics and game development.

## Use cases
- learn Direct3D 11 programming with working sample code
- study DirectCompute compute shader examples
- get legacy DirectX SDK samples building on modern Windows 10 SDK
- reference XAudio2 and XInput usage in C++
- modernize old D3DX11-based code
- learn HLSL effects and shader techniques

## When to choose
- you want maintained, modernized versions of classic Direct3D 11 samples
- you need reference C++ code for Direct3D 11, DirectCompute, XAudio2, or XInput on Windows desktop
- you are learning Windows graphics programming with Visual Studio 2019/2022

## When to avoid
- you need DirectX 12 or UWP/Xbox samples
- you want a library or framework to include in your project rather than sample code
- you target non-Windows platforms
- you need the original unmodified legacy DirectX SDK samples

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: graphics, game-engine, developer-tools
- domain: graphics, windows, developer-tools, tutorials
- platform: windows, cpp
- tags: directx, direct3d-11, xaudio2, xinput, directcompute, hlsl, sample-code, legacy-sdk, visual-studio, game-development, desktop

## Member repositories
- walbourn/directx-sdk-samples-reworked (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:47.024205+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:34.394997+00:00, confidence not recorded.
  - readme: https://github.com/walbourn/directx-sdk-samples-reworked (fetched 2026-08-28T04:04:47.024205+00:00, sha 30aa30aa1aea)
  - homepage: https://walbourn.github.io/directx-sdk-samples-catalog/ (fetched 2026-08-29T11:44:30.151547+00:00, sha e3c040486a52)
- Data as of 2026-08-30T08:39:29.467469+00:00.
