Mach v0.3 has been released! For all the details check out the announcement

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