C++ DirectX

Open-source C++ projects categorized as DirectX

Top 23 C++ DirectX Projects

  1. bgfx

    Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

    Project mention: Bgfx: Cross-platform, graphics API agnostic rendering library | news.ycombinator.com | 2025-01-08
  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. renderdoc

    RenderDoc is a stand-alone graphics debugging tool.

  4. The-Forge

    The Forge Cross-Platform Framework PC Windows, Steamdeck (native), Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2

    Project mention: ConfettiFX the Forge 1.63 Released | news.ycombinator.com | 2025-03-24
  5. Ogre 3D

    scene-oriented, flexible 3D engine (C++, Python, C#, Java)

  6. xray-16

    Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)

  7. DirectXTK

    The DirectX Tool Kit (aka DirectXTK) is a collection of helper classes for writing DirectX 11.x code in C++

    Project mention: C++ exception performance three years later | news.ycombinator.com | 2024-12-13

    Are there any benchmarks of Windows EH? The implementation is very different from DWARF/SJLJ EH and it would be interesting to see how they fare. I've seen some pretty exceptional claims for both sides of the argument (e.g. "[...] has no code impact for x64 native, ARM, or ARM64 platforms" [1]), but there's rarely if ever any data to back this up.

    [1] https://github.com/Microsoft/DirectXTK/wiki/throwIfFailed

  8. LLGL

    Low Level Graphics Library (LLGL) is a thin abstraction layer for the modern graphics APIs OpenGL, Direct3D, Vulkan, and Metal

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. ShaderGlass

    Overlay for running GPU shaders on top of Windows desktop

    Project mention: ShaderGlass – Overlay for running GPU shaders on top of Windows desktop | news.ycombinator.com | 2024-10-03
  11. DirectXTex

    DirectXTex texture processing library

  12. DirectXMath

    DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps

    Project mention: C Is Not Suited to SIMD | news.ycombinator.com | 2025-01-27
  13. DirectXTK12

    The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++

  14. Effekseer

  15. Bonzomatic

    Live shader coding tool and Shader Showdown workhorse (by Gargaj)

  16. HyperHDR

    Highly optimized open source ambient lighting implementation based on modern digital video and audio stream analysis for Windows, macOS and Linux (x86 and Raspberry Pi / ARM).

  17. d912pxy

    DirectX9 to DirectX12 API proxy for Guild Wars 2

  18. D3D12MemoryAllocator

    Easy to integrate memory allocation library for Direct3D 12

  19. goverlay

    DirectX hook and game overlay solution for Electron, Qt and CEF, just like discord/steam game overlay,inject any app to overlay in your game (by hiitiger)

  20. DirectStorage

    DirectStorage for Windows is an API that allows game developers to unlock the full potential of high speed NVMe drives for loading game assets.

    Project mention: Asynchronous IO: the next billion-dollar mistake? | news.ycombinator.com | 2024-09-06

    Correct me if I'm wrong, but Microsoft's DirectStorage seems to me something like what the author is writing about. AFAIK it lets you do massively parallel NVME file io ops from the GPU itself, avoiding the delay of the path through the CPU, extra thread saturation on the CPU/context switches, and even lets you do eg decompression of game assets on the GPU itself. This demo benchmark shows DEFLATE going from 1 GB/s on CPU to 7 GBs/ on GPU https://github.com/microsoft/DirectStorage/tree/main/Samples...

  21. harfang3d

    HARFANG 3D source code public repository

  22. d8vk

    Direct3D 8 to Vulkan translation for DXVK! Merged into dxvk: https://github.com/doitsujin/dxvk

  23. GOESP

    Cross-platform streamproof ESP hack for Counter-Strike: Global Offensive, written in modern C++. Rendering and GUI powered by Dear ImGui + FreeType.

  24. GPU-Reshape

    GPU Reshape (GRS) is an API & vendor agnostic instrumentation framework, with instruction level validation.

  25. supernova

    Game engine for 2D and 3D projects with entity component system (ECS) and data-oriented design

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ DirectX discussion

Log in or Post with

C++ DirectX related posts

  • Bgfx: Cross-platform, graphics API agnostic rendering library

    1 project | news.ycombinator.com | 8 Jan 2025
  • C++ exception performance three years later

    1 project | news.ycombinator.com | 13 Dec 2024
  • A 94x speed improvement demonstrated using handwritten assembly

    1 project | news.ycombinator.com | 4 Nov 2024
  • ShaderGlass – Overlay for running GPU shaders on top of Windows desktop

    1 project | news.ycombinator.com | 3 Oct 2024
  • Orthodox C++

    1 project | news.ycombinator.com | 22 May 2024
  • WebKit Switching to Skia for 2D Graphics Rendering

    6 projects | news.ycombinator.com | 20 Feb 2024
  • Nintendo Network shutdown – The beginning of the end

    1 project | news.ycombinator.com | 26 Dec 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 17 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

What are some of the best open-source DirectX projects in C++? This list will help you:

# Project Stars
1 bgfx 15,621
2 renderdoc 9,540
3 The-Forge 5,067
4 Ogre 3D 4,193
5 xray-16 3,169
6 DirectXTK 2,655
7 LLGL 2,242
8 ShaderGlass 2,124
9 DirectXTex 1,917
10 DirectXMath 1,637
11 DirectXTK12 1,584
12 Effekseer 1,540
13 Bonzomatic 1,398
14 HyperHDR 1,389
15 d912pxy 1,003
16 D3D12MemoryAllocator 824
17 goverlay 823
18 DirectStorage 758
19 harfang3d 597
20 d8vk 489
21 GOESP 436
22 GPU-Reshape 413
23 supernova 338

Sponsored
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?