C++ Metal

Open-source C++ projects categorized as Metal

Top 16 C++ Metal Projects

  • Cocos2d

    Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.

    Project mention: Decrypt key and signature | /r/AskReverseEngineering | 2023-04-12

    That's all I can really tell you from what you've posted. The original version without the Blowfish encryption is open source (eg. https://github.com/cocos2d/cocos2d-x/blob/v4/cocos/scripting/lua-bindings/manual/CCLuaStack.cpp) , and I don't really understand how why you have so much symbol information available if what you're trying to disassemble isn't also probably open source

  • filament

    Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2

    Project mention: Looking for resources / mentor | /r/vulkan | 2023-06-13

    Also beginner here, I think you can learn other's codes to get a better understanding of the API by learning how others can abstract these concept into higher level. They're many great projects out there like Google's pbr renderer filament https://github.com/google/filament, AMD's gltf sample https://github.com/GPUOpen-LibrariesAndSDKs/glTFSample and also as many suggested, the Sascha Willems's repos https://github.com/SaschaWillems and the official sample https://github.com/KhronosGroup/Vulkan-Samples

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • bgfx

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

    Project mention: The Ultimate Cross-Platform Rendering Engine? | /r/GraphicsProgramming | 2023-08-18

    BGFX: Pretty mature and easy to use with many backends.

  • cocos-engine

    Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.

    Project mention: List of Unity alternatives | /r/gamedev | 2023-09-19
  • The-Forge

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

    Project mention: How many semaphores do really I need? | /r/vulkan | 2023-06-01

    To my understanding, every source I've read says that this should cause issues, but in practice it doesn't. What gives? Did I miss something? Here are multiple examples using the latter approach.

  • Ogre 3D

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

  • LLGL

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

    Project mention: Looking to create a engine (for fun) and am willing to rethink my stack from scratch. Should I go with Rust/wgpu/web-based UI, or C++/Vulkan/Qt, or even some other stack? | /r/GraphicsProgramming | 2023-06-05

    LLGL Looks like a good alternative to BGFX, I haven't tried it though.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • ShaderConductor

    ShaderConductor is a tool designed for cross-compiling HLSL to other shading languages

    Project mention: Start project on Metal, port to DX11? | /r/GraphicsProgramming | 2023-04-27

    Have you seen this project: https://github.com/microsoft/ShaderConductor? It is maintained by Microsoft as well.

  • VkFFT

    Vulkan/CUDA/HIP/OpenCL/Level Zero/Metal Fast Fourier Transform library

    Project mention: [P] - VkFFT now supports quad precision (double-double) FFT computation on GPU | /r/MachineLearning | 2023-09-27

    Hello, I am the creator of the VkFFT - GPU Fast Fourier Transform library for Vulkan/CUDA/HIP/OpenCL/Level Zero and Metal. In the latest update, I have added support for quad-precision double-double emulation for FFT calculation on most modern GPUs. I understand that modern ML is going in the opposite low-precision direction, but I still think that it may be useful to have this functionality at least for some prototyping and development of concepts.

  • ogre-next

    aka ogre v2 - scene-oriented, flexible 3D C++ engine

    Project mention: I don't understand how the process of voxelization is supposed to work. | /r/GraphicsProgramming | 2023-05-29
  • MethaneKit

    🎲 Modern 3D graphics made simple with C++17 cross-platform framework and rendering abstraction API on top of DirectX 12, Metal & Vulkan

    Project mention: Searching for Reliable Cross-Platform Rendering Framework (C/C++) | /r/gamedev | 2023-01-19

    I have had my eye on MethaneKit for a while, it may not be far enough along for what you want.

  • urde

    Engine re-implementation and data interchange for games by Retro Studios

    Project mention: A link to the Past [ Pc Port] | /r/emulation | 2023-02-13

    Metaforce for Metroid Prime is a thing that nobody ever seems to notice exists: https://axiodl.com/

  • metal-cpp

    Metal-cpp is a low-overhead C++ interface for Metal that helps developers add Metal functionality to graphics apps, games, and game engines that are written in C++.

    Project mention: Show HN: C-ocoa, Write iOS/macOS apps in any language, with a generated C API | news.ycombinator.com | 2023-09-11

    This is basically also what the "official" C++ API for Metal does (https://developer.apple.com/metal/cpp/), it's an automatically generated bindings wrapper which calls into ObjC runtime functions.

    I also dabbled a bit with this idea by parsing clang AST-dumps of macOS system headers:


    Unfortunately this is very brittle, and also broke on ARM CPUs, I guess the shim code needs some ABI adjustments (famously, objc_msgSend has multiple "ABI shapes": https://www.mikeash.com/pyblog/objc_msgsends-new-prototype.h...).

  • aether3d

    Aether3D Game Engine

  • maps-core

    The lightweight and modern Map SDK for Android and iOS

  • CrossWindow-Demos

    🥪 Examples of how to use CrossWindow for things like rendering graphics, listening to events, etc.

  • SonarCloud

    Analyze your C and C++ projects with just one click.. SonarCloud, a cloud-based static analysis tool for your CI/CD workflows, offers a one-click automatic analysis of C and C++ projects hosted on GitHub. Zero configuration and free for open-source projects! Analyze free.

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-09-27.

C++ Metal related posts


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

Project Stars
1 Cocos2d 17,472
2 filament 16,322
3 bgfx 13,487
4 cocos-engine 4,665
5 The-Forge 3,939
6 Ogre 3D 3,442
7 LLGL 1,740
8 ShaderConductor 1,642
9 VkFFT 1,340
10 ogre-next 861
11 MethaneKit 678
12 urde 538
13 metal-cpp 217
14 aether3d 199
15 maps-core 106
16 CrossWindow-Demos 59
Analyze your C and C++ projects with just one click.
SonarCloud, a cloud-based static analysis tool for your CI/CD workflows, offers a one-click automatic analysis of C and C++ projects hosted on GitHub. Zero configuration and free for open-source projects! Analyze free.