mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-22 11:53:14 +00:00
35 lines
2.8 KiB
Markdown
35 lines
2.8 KiB
Markdown
<img align="right" width="25%" src="logo.png">
|
|
|
|
This github project is mirrored in "gfx/wgpu" of [Mozilla-central](https://hg.mozilla.org/mozilla-central/file/tip/gfx/wgpu).
|
|
Issues and pull requests are welcome, but some bidirectional synchronization may be involved.
|
|
|
|
# wgpu
|
|
|
|
[](https://matrix.to/#/#wgpu:matrix.org) [](https://matrix.to/#/#wgpu-users:matrix.org)
|
|
[](https://github.com/gfx-rs/wgpu/actions)
|
|
[](https://codecov.io/gh/gfx-rs/wgpu)
|
|
|
|
This is the core logic of an experimental [WebGPU](https://www.w3.org/community/gpu/) implementation. It's written in Rust and is based on [gfx-hal](https://github.com/gfx-rs/gfx) with help of [gpu-alloc](https://github.com/zakarumych/gpu-alloc) and [gpu-descriptor](https://github.com/zakarumych/gpu-descriptor). See the upstream [WebGPU specification](https://gpuweb.github.io/gpuweb/) (work in progress).
|
|
|
|
The implementation consists of the following parts:
|
|
|
|
- [](https://crates.io/crates/wgpu-core) [](https://docs.rs/wgpu-core/) - internal Rust API for WebGPU implementations to use
|
|
- [](https://crates.io/crates/wgpu-types) [](https://docs.rs/wgpu-types/) - Rust types shared between `wgpu-core` and `wgpu-rs`
|
|
- `player` - standalone application for replaying the API traces, uses `winit`
|
|
|
|
This repository contains the core of `wgpu`, and is not usable directly by applications.
|
|
If you are looking for the user-facing Rust API, you need [wgpu-rs](https://github.com/gfx-rs/wgpu-rs).
|
|
If you are looking for the native implementation or bindings to the API in other languages, you need [wgpu-native](https://github.com/gfx-rs/wgpu-native).
|
|
|
|
## Supported Platforms
|
|
|
|
API | Windows 7/10 | Linux & Android | macOS & iOS |
|
|
----- | ------------------ | ------------------ | ------------------ |
|
|
DX11 | :ok: | | |
|
|
DX12 | :white_check_mark: | | |
|
|
Vulkan | :white_check_mark: | :white_check_mark: | |
|
|
Metal | | | :white_check_mark: |
|
|
GL ES3 | | :construction: | |
|
|
|
|
:white_check_mark: = Primary support — :ok: = Secondary support — :construction: = Unsupported, but support in progress
|