gfx-rs/wgpu-native

Rust
macOSWindowsLinux

Native WebGPU implementation based on wgpu-core

webgpugraphicsgpurustnativewgpu
Crecimiento de estrellas
Estrellas
1.4k
Forks
171
Crecimiento semanal
+5
Issues
62
5001k
abr 2020jun 2022ago 2024oct 2026
Artefactoscrates.io
README

wgpu-native

Matrix Build Status

This is a native WebGPU implementation in Rust, based on wgpu-core. The bindings are based on the WebGPU-native header found at ffi/webgpu-headers/webgpu.h and wgpu-native specific items in ffi/wgpu.h

Bindings

[!NOTE] This list is also available on the wgpu website.

Pre-built binaries

Automated 32 and 64-bit builds for MacOS, Windows and Linux are available as Github releases. Details can be found in the Binary Releases page in the wiki.

Usage

This repository contains C-language examples that link to the native library targets and perform basic rendering and computation. Please refer to our Getting Started page at the wiki for more information.

There's also a (small) contributor guide.

Minimum Supported Rust Version

The minimum supported Rust version (MSRV) for wgpu-native is 1.87. MSRV bumps are considered breaking changes.