Home

Awesome

<a href="https://machengine.org/pkg/mach-core"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://machengine.org/assets/mach/core-full-dark.svg"> <img alt="mach-core" src="https://machengine.org/assets/mach/core-full-light.svg" height="150px"> </picture> </a>

window+input+GPU, truly cross-platform

<a href="https://user-images.githubusercontent.com/3173176/173177664-2ac9e90b-9429-4b09-aaf9-b80b53fee49f.gif"><img align="left" src="https://user-images.githubusercontent.com/3173176/173177664-2ac9e90b-9429-4b09-aaf9-b80b53fee49f.gif" alt="gen-texture-light" height="190px"></img></a> <a href="https://user-images.githubusercontent.com/3173176/163936001-fd9eb918-7c29-4dcc-bfcb-5586f2ea1f9a.gif"><img align="left" src="https://user-images.githubusercontent.com/3173176/163936001-fd9eb918-7c29-4dcc-bfcb-5586f2ea1f9a.gif" alt="boids" height="190px"></img></a> <a href="https://user-images.githubusercontent.com/3173176/173177646-a3f0982c-f07b-496f-947b-265bdc71ece9.gif"><img src="https://user-images.githubusercontent.com/3173176/173177646-a3f0982c-f07b-496f-947b-265bdc71ece9.gif" alt="textured-cube" height="190px"></img></a>

Features

Mach core provides the power of Vulkan, DirectX, Metal, and modern OpenGL in a single concise graphics API and shader language - by compiling Google Chrome's WebGPU implementation natively using Zig.

No more cmake/ninja/gn/etc, no more 'install all these system dependencies' - just Zig, Git, and curl - and at the flip of a switch you can seamlessly cross-compile for Windows/Linux/macOS, with browser support in development, and mobile support coming in the future - all under a single unified API.

Documentation

machengine.org/core

Join the community

Join the Mach community on Discord to discuss this project, ask questions, get help, etc.

Issues

Issues are tracked in the main Mach repository.