C++ DirectX

Open-source C++ projects categorized as DirectX

Top 23 C++ DirectX Projects

  • bgfx

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

    Project mention: Just found out about Zig and wonder what would be the best graphics library to pair with it? | reddit.com/r/Zig | 2023-02-01

    If you want juste a renderer, you can use BGFX, there is a zig binding that is not a third party.

  • renderdoc

    RenderDoc is a stand-alone graphics debugging tool.

    Project mention: Are bindless textures niche or weird? | reddit.com/r/opengl | 2023-01-13

    Baldur explains why he won't implement bindless texture support in this issue: https://github.com/baldurk/renderdoc/issues/850

  • Sonar

    Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • The-Forge

    The Forge Cross-Platform Rendering Framework PC Windows, Linux, Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2

    Project mention: SoLoud - Game Audio Engine ที่ใช้งานง่าย (มาก) และ opensource สำหรับ C++ | dev.to | 2023-01-29
  • Ogre 3D

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

    Project mention: ⟳ 4 apps added, 43 updated at f-droid.org | reddit.com/r/FDroidUpdates | 2022-02-09

    Ogre Sample Browser (version 13.2.4): Object-Oriented Graphics Rendering Engine - Samples

  • 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: Not bad for a 16 year old game engine | reddit.com/r/stalker | 2023-01-23

    Yes. It's a based on a fork from Open X-ray.

  • DirectXTK

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

    Project mention: Learning DirectX 12 in 2023 | dev.to | 2023-01-30

    DirectXTK 12 (includes SimpleMath and other goodies)

  • LLGL

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

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • DirectXTex

    DirectXTex texture processing library

    Project mention: Learning DirectX 12 in 2023 | dev.to | 2023-01-30


  • DirectXMath

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

    Project mention: Learning DirectX 12 in 2023 | dev.to | 2023-01-30

    Alongside MiniEngine, you’ll want to look into the DirectX Toolkit. This is a set of utilities by Microsoft that simplify graphics and game development. It contains libraries like DirectXMesh for parsing and optimizing meshes for DX12, or DirectXMath which handles 3D math operations like the OpenGL library glm. It also has utilities for gamepad input or sprite fonts. You can see a list of the headers here to get an idea of the features. You’ll definitely want to include this in your project if you don’t want to think about a lot of these solved problems (and don’t have to worry about cross-platform support).

  • Bonzomatic

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

    Project mention: Creative coding, making loops with Processing | news.ycombinator.com | 2023-01-28

    surprised to not see anyone mention https://shadertoy.com

    also check out bonzomatic:


    You can find some live bonzomatic shader coding vids on youtube too:


  • DirectXTK12

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

    Project mention: Learning DirectX 12 in 2023 | dev.to | 2023-01-30

    DirectXTK 12 (includes SimpleMath and other goodies)

  • d912pxy

    DirectX9 to DirectX12 API proxy for Guild Wars 2

    Project mention: The game feels well optimized nowadays | reddit.com/r/Guildwars2 | 2023-01-16

    I think the 5900 is holding you back. I have 5800x3d and in dragons end FPS stays over 60 most of the time. I also use dx12 API proxy: https://github.com/megai2/d912pxy

  • dxwrapper

    Fixes compatibility issues with older games running on Windows 10 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.

    Project mention: playing Diablo 1 on windows 7. how do I fix the colors? | reddit.com/r/Diablo | 2023-01-12
  • storm-engine

    Game engine behind Sea Dogs, Pirates of the Caribbean and Age of Pirates games.

    Project mention: Bucaneering games. (Basically being a pirate - but not pirating games) | reddit.com/r/opensourcegames | 2022-09-21

    If you are fine with open source engine + proprietary data then you can check: https://store.steampowered.com/app/223330/Sea_Dogs_To_Each_His_Own__Pirate_Open_World_RPG/ Engine source code: https://github.com/storm-devs/storm-engine

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

  • D3D12MemoryAllocator

    Easy to integrate memory allocation library for Direct3D 12

    Project mention: Learning DirectX 12 in 2023 | dev.to | 2023-01-30

    D3D12 Memory Allocator

  • HyperHDR

    Open source ambient lighting implementation for television sets based on the video and audio streams analysis for Windows, macOS and Linux (x86 and Raspberry Pi). Includes real-time HDR tone mapping and multi-threading for better performance.

    Project mention: Question | reddit.com/r/WLED | 2022-10-08
  • 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: DirectStorage Performance Compared: AMD vs Intel vs Nvidia | reddit.com/r/hardware | 2023-01-14

    The github repo has some command line parameters.

  • ShaderGlass

    Overlay for running GPU shaders on top of Windows desktop

    Project mention: Introducing librashader - A complete reimplementation of the RetroArch shader pipeline | reddit.com/r/emulation | 2023-01-20

    not perfect but best solution i often use ShaderGlass


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

    Project mention: Is there an easy to use free esp cheat? | reddit.com/r/Csgohacks | 2022-08-06
  • harfang3d

    HARFANG 3D source code public repository

    Project mention: Harfang3D update: 3D Engine in Python | reddit.com/r/Python | 2022-12-15
  • unreal-vr

    Adds virtual reality support to flatscreen Unreal Engine games

    Project mention: Unreal VR Injector Build Help | reddit.com/r/virtualreality | 2023-01-08

    I have built the Unreal VR Injector from GitHub - TheNewJavaman/unreal-vr: Adds virtual reality support to flatscreen Unreal Engine games but I can't figure out how to launch it.

  • Rootex

    An advanced C++ 3D game engine powering an in-production game yet to be announced

  • SaaSHub

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

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). The latest post mention was on 2023-02-01.

C++ DirectX related posts


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

Project Stars
1 bgfx 12,642
2 renderdoc 7,062
3 The-Forge 3,425
4 Ogre 3D 3,125
5 xray-16 2,275
6 DirectXTK 2,214
7 LLGL 1,543
8 DirectXTex 1,455
9 DirectXMath 1,242
10 Bonzomatic 1,175
11 DirectXTK12 1,129
12 d912pxy 1,004
13 dxwrapper 801
14 storm-engine 709
15 goverlay 569
16 D3D12MemoryAllocator 502
17 HyperHDR 452
18 DirectStorage 424
19 ShaderGlass 411
20 GOESP 383
21 harfang3d 314
22 unreal-vr 205
23 Rootex 181
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives