mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
742fee7e410ea07c7d3d671485e50f836fef62a1
38: Draw the first triangle r=grovesNL a=kvark - [x] vertex/index buffers - [x] draws - [x] bind groups - [x] creation - [x] binding - [x] Rust side - [x] triangle Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
WebGPU
This is an experimental WebGPU implementation as a native static library. It's written in Rust and is based on gfx-hal and satellite libraries. The corresponding WebIDL specification can be found at gpuweb project.
The implementation consists of the following parts:
wgpu-native- the native implementation of WebGPU as a C API librarywgpu-bindings- automatic generator of actual C headerswgpu-remote- remoting layer to work with WebGPU across the process boundarywgpu-rs- idiomatic Rust wrapper of the native library
Description
A cross-platform, safe, pure-Rust graphics API.
92 MiB
0 Stars
1 Watchers
0 Forks
Languages
Rust
78.5%
WGSL
13%
GLSL
3.1%
Metal
2.8%
HLSL
2.3%
Other
0.2%