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: Layers All the Way Down: The Untold Story of Shader Compilation | news.ycombinator.com | 2025-05-18

    BGFX (https://github.com/bkaradzic/bgfx) uses a different approach. You basically write your shader in a GLSL-like language but it's all just (either very clever or very horrible) macro expansions that handles all the platform differences.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. renderdoc

    RenderDoc is a stand-alone graphics debugging tool.

    Project mention: Ask HN: What are good high information density UIs (screenshots, apps, sites) | news.ycombinator.com | 2025-05-08

    Tracy [1] is the first thing that comes to my mind, then RenderDoc [2].

    After that Visual Studio while debugging. In general, I think graphical debuggers and profiling tools do a relatively good job of packing lots of information into many, small windows.

    [1] https://github.com/wolfpld/tracy

    [2] https://github.com/baldurk/renderdoc

  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: Forge Cross-Platform Framework | news.ycombinator.com | 2025-10-19
  5. Ogre 3D

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

    Project mention: Irrlicht Engine – a cross-platform realtime 3D engine | news.ycombinator.com | 2025-09-14

    This, Ogre3D[0], and Wicked Engine seem to be the last of their kind

    [0] https://github.com/OGRECave/ogre

  6. ShaderGlass

    Overlay for running GPU shaders on top of Windows desktop

    Project mention: Ghostty compiled to WASM with xterm.js API compatibility | news.ycombinator.com | 2025-12-01
  7. 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! ;)

    Project mention: OpenXRay: Reviving the S.T.A.L.K.E.R. Legacy | dev.to | 2025-05-19

    View the Project on GitHub

  8. DirectXTK

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

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. LLGL

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

  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. 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).

  14. DirectXTK12

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

  15. Effekseer

  16. Bonzomatic

    Live shader coding tool and Shader Showdown workhorse

    Project mention: Shaders: How to draw high fidelity graphics with just x and y coordinates | news.ycombinator.com | 2025-11-23

    There's also bonzomatic which the demo scene uses for shader programming live coding competitions:

    https://github.com/Gargaj/Bonzomatic

  17. D3D12MemoryAllocator

    Easy to integrate memory allocation library for Direct3D 12

  18. 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)

  19. 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.

  20. harfang3d

    HARFANG 3D source code public repository

  21. d8vk

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

  22. skyrim-community-shaders

    Community-driven advanced graphics modifications for AE, SE and VR.

  23. GPU-Reshape

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

    Project mention: .NET MAUI Is Coming to Linux and the Browser, Powered by Avalonia | news.ycombinator.com | 2025-11-11

    I don't think that's a problem? The .NET library this is about, that now supports MAUI code unchanged, is already used in programs like https://github.com/sourcegit-scm/sourcegit/blob/master/scree... and https://github.com/GPUOpen-Tools/GPU-Reshape/blob/main/Docum...

  24. GOESP

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

  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

C++ DirectX related posts

Index

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

# Project Stars
1 bgfx 16,435
2 renderdoc 10,243
3 The-Forge 5,389
4 Ogre 3D 4,442
5 ShaderGlass 3,510
6 xray-16 3,353
7 DirectXTK 2,749
8 LLGL 2,485
9 DirectXTex 2,043
10 DirectXMath 1,730
11 HyperHDR 1,708
12 DirectXTK12 1,677
13 Effekseer 1,622
14 Bonzomatic 1,464
15 D3D12MemoryAllocator 933
16 goverlay 882
17 DirectStorage 799
18 harfang3d 633
19 d8vk 510
20 skyrim-community-shaders 491
21 GPU-Reshape 471
22 GOESP 440
23 supernova 370

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

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