You are viewing an old version of Mach (v0.2) see the latest version here.

GPU overview

Mach uses WebGPU as its graphics API, this is an overview of that, links to learning resources and more information about how to use it.

Learning resources

Things to reference as you go

Video tutorials

@GetIntoGameDev has an excellent series of around 30 “WebGPU for Beginners” tutorials, they are using JavaScript but the APIs and concepts are the same. They go into an interesting raytracing-using-compute-shaders technique towards the end.

Code examples

Articles