learn-wgpu/docs
sotrh 3a8b832c89
Merge pull request #351 from ikopysov/patch-1
Removed "pollster" from tutorial1-window readme.
2022-05-14 12:43:05 -06:00
..
.vuepress updated intermediate tutorial docs and removing tutorial13 for maintenance 2022-03-25 17:26:42 -06:00
beginner Merge pull request #351 from ikopysov/patch-1 2022-05-14 12:43:05 -06:00
intermediate fixes #337 2022-04-14 14:50:57 -06:00
news typos in news/0.12 2021-12-29 12:31:14 -07:00
showcase fixes #343 2022-04-14 14:06:39 -06:00
README.md update patrons list 2021-12-30 12:11:08 -07:00
todo.md textures 2019-11-05 01:02:41 -07:00

Introduction

What is wgpu?

Wgpu is a Rust implementation of the WebGPU API spec. WebGPU is a specification published by the GPU for the Web Community Group. It aims to allow web code access to GPU functions in a safe and reliable manner. It does this by mimicking the Vulkan API, and translating that down to whatever API the host hardware is using (ie. DirectX, Metal, Vulkan).

Wgpu is still in development, so some of this doc is subject to change.

Why Rust?

Wgpu actually has C bindings to allow you to write C/C++ code with it, as well as use other languages that interface with C. That being said, wgpu is written in Rust, and it has some convenient Rust bindings that don't have to jump through any hoops. On top of that, I've been enjoying writing in Rust.

You should be fairly familiar with Rust before using this tutorial as I won't go into much detail on Rust syntax. If you're not super comfortable with Rust you can review the Rust tutorial. You should also be familiar with Cargo.

I'm using this project to learn wgpu myself, so I might miss some important details, or explain things badly. I'm always open to constructive feedback.

Contribution and Support

  • I accept pull requests (GitHub repo) for fixing issues with this tutorial such as typos, incorrect information, and other inconsistencies.
  • Due to wgpu's rapidly changing api, I'm not accepting any new pull requests for showcase demos.
  • If you want to support me directly, check out my patreon!

Special thanks to these patrons!

In no particular order

  • Zeh Fernando
  • The toddling chaos
  • Jan Šipr
  • Bernard Llanos
  • Aron Granberg
  • Ian Gowen
  • Paul E Hansen
  • Lennart
  • Gunstein Vatnar
  • David Laban