C++ DirectX

Open-source C++ projects categorized as DirectX | Edit details

Top 23 C++ DirectX Projects

  • GitHub repo bgfx

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

    Project mention: What would be most beneficial to learn to get back up to speed? | reddit.com/r/GraphicsProgramming | 2021-12-27

    Perhaps not quite what you're looking for, but I've had a reasonably good experience with bgfx. It's basically 1 level of abstraction above specific graphics APIs (GL, DirectX, etc). It is not a full game engine, just a rendering API.

  • GitHub repo renderdoc

    RenderDoc is a stand-alone graphics debugging tool.

    Project mention: Renderdoc's GPU Selection on a laptop | reddit.com/r/vulkan | 2021-04-19

    Renderdoc works by inserting itself as a Vulkan layer, which means it can change the output of functions if it so chooses. As you can see in the RenderDoc version of vkEnumeratePhysicalDevices it changes how devices are returned, and this likely is the reason the order changes.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo The-Forge

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

    Project mention: What is the lightest C++ 3D game engine for Linux? | reddit.com/r/gamedev | 2021-12-23

    I haven't tried it, but I heard that this was used for Hades

  • GitHub repo Ogre 3D

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

    Project mention: Ogre 13.0.0 released! Open Source game engine. | reddit.com/r/linux_gaming | 2021-08-14
  • GitHub repo DirectXTK

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

    Project mention: How to handle multithreading in concept. | reddit.com/r/gamedev | 2021-12-27

    then check up this https://github.com/microsoft/DirectXTK/wiki/Getting-Started

  • GitHub repo 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: If software (OpenXRay-engine in this case) has a BSD-style license, does that automatically mean I can make derivative works (eg a new game, unrelated to S.T.A.L.K.E.R.) and sell them? | reddit.com/r/foss | 2021-11-28
  • GitHub repo LLGL

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

    Project mention: Writing game engines in c++, recommendations | reddit.com/r/learnprogramming | 2021-01-21
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo DirectXTex

    DirectXTex texture processing library

    Project mention: SSE CK fatal error | reddit.com/r/skyrimmods | 2021-12-12

    You can use texdiag to see information about a texture.

  • GitHub repo DirectXMath

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

    Project mention: maths - templated c++ linear algebra library with vector swizzling, intersection tests and useful functions for games and graphics dev... includes live webgl/wasm demo ? | reddit.com/r/cpp | 2022-01-12

    If you’re the author, consider comparisons with the industry standards, glm and DirectXMath, which both ensure easy interoperability with the two graphics APIs.

  • GitHub repo d912pxy

    DirectX9 to DirectX12 API proxy for Guild Wars 2

    Project mention: FPS fixes? | reddit.com/r/Guildwars2 | 2022-01-08

    If none of that is enough try out the DX12 addon.

  • GitHub repo DirectXTK12

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

    Project mention: How to handle multithreading in concept. | reddit.com/r/gamedev | 2021-12-27

    or https://github.com/microsoft/DirectXTK12/wiki/Getting-Started

  • GitHub repo 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: Star Trek: Armada and Star Trek: Armada II are now available for purchase on GOG! | reddit.com/r/startrek | 2022-01-04

    Officially, there's nothing you can do but wait. GOG may take a while to patch this issue, as they don't have AMD GPUs readily available for testing. Unofficially, you can try the unofficial 1.3 patch by the Fleet Operations Team, and the DxWrapper for DirectDraw by Elisha Riedlinger. Just bear in mind, this may break multiplayer compatibility with unpatched GOG clients.

  • GitHub repo 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

    Project mention: Can you have a chat overlay on top of an exclusive fullscreen game? | reddit.com/r/Twitch | 2021-03-02

    I also found this, but I'm unsure how to use it. It could potentially work though.

  • GitHub repo GOESP

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

    Project mention: Any good cheats with an anti obs. | reddit.com/r/Csgohacks | 2021-08-02

    GoESP gamesense (.pub | .is)

  • GitHub repo Rootex

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

  • GitHub repo SlimDX

    Automatically exported from code.google.com/p/slimdx

  • GitHub repo blitz3d-ng

    This project is an attempt to revive & modernize Blitz3D.

    Project mention: Game Maker now has a free tier instead of a 30 day trial | reddit.com/r/gamedev | 2021-07-01
  • GitHub repo PBR-renderer

    physically based renderer written in DX12 with image-based lighting, classic deffered and tiled lighting approaches

    Project mention: Anyone wanna team up and write a graphics engine in Vulkan together? | reddit.com/r/GraphicsProgramming | 2021-05-04

    I have a sandbox project where I has been playing with raw D3D12 api, you can see it on my GitHub https://github.com/laena-gif/PBR-renderer. I definitely want to participate 🙏🙏

  • GitHub repo d8vk

    Implementation of Direct3D 8 using D9VK and the DXVK backend.

    Project mention: DXVK Native 1.9.2a is out for translating Direct 3D 9 / 10 / 11 to Vulkan for Linux games | reddit.com/r/linux_gaming | 2021-10-22

    d8vk is in the works: https://github.com/AlpyneDreams/d8vk

  • GitHub repo DxCapsViewer

    DirectX Capabilities Viewer utility (dxcapsviewer.exe)

    Project mention: Cant launch Halo Infinite? | reddit.com/r/halo | 2021-11-18

    I just downloaded it from https://github.com/microsoft/DxCapsViewer/releases

  • GitHub repo Tempest

    3d graphics engine (by Try)

    Project mention: OpenGothc 2021 progress report | reddit.com/r/worldofgothic | 2021-11-07
  • GitHub repo SDLXX

    :space_invader: Modern C++ wrapper for Simple DirectMedia Layer (SDL2)

    Project mention: Im learning C++ and want to make a small game with it. What do you suggest me for graphics? | reddit.com/r/gamedev | 2021-11-20
  • GitHub repo GraphicsPlayground

    Sandbox for the graphics engine. Designed for easiest experimentation and demonstration of graphics algorithms.

    Project mention: On which hobby or side projects are you working on? | reddit.com/r/cpp | 2021-11-23

    Graphics Playground - C++ Library for playing with graphics and fast prototyping of graphics algorithms https://github.com/kymani37299/GraphicsPlayground ( minimize overhead maximize customizability idea)

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 2022-01-12.

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 10,872
2 renderdoc 6,042
3 The-Forge 2,802
4 Ogre 3D 2,621
5 DirectXTK 1,936
6 xray-16 1,831
7 LLGL 1,259
8 DirectXTex 1,223
9 DirectXMath 1,040
10 d912pxy 978
11 DirectXTK12 913
12 dxwrapper 579
13 goverlay 422
14 GOESP 297
15 Rootex 147
16 SlimDX 76
17 blitz3d-ng 54
18 PBR-renderer 32
19 d8vk 31
20 DxCapsViewer 24
21 Tempest 18
22 SDLXX 7
23 GraphicsPlayground 0
Find remote jobs at our new job board 99remotejobs.com. There are 28 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.