百科.dev
全部条目趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

wgpu

> 编程语言
开源

一个跨平台,安全,纯Rust图形API.

17.7K stars0 点赞2 次浏览
访问官网GitHub

工具介绍

一个跨平台,安全,纯Rust图形API.

wgpu wgpu是一个跨平台,安全,纯Rust图形API. 它在Vulkan,Metal,D3D12和OpenGL上本土运行;在WebGL2和WebGPU上运行. API基于[WebGPU标准][WebGPU],但是一个完全本土的Rust库. 它作为WebGPU集成在Firefox,Servo和德诺的核心. 在<https://wgpu.rs/examples/>上在线查阅我们的例子。 您可以在实例中看到 Rust 源头,并直接用货物运行 -- -- bin wgpu-examples < example. 学习 wgpu 如果你是刚开始Wgpu和图形编程,我们建议从[Learn Wgpu]开始. 此外,[WebGPU Basics]是WebGPU的教程,它与我们的API非常相近,减去了Rust和JavaScript之间的区别. [Learn Wgpu]:https://sotrh.ZGitHub.io/learn-wgpu/ [WebGPU 基本原理]:https://webgpufundamentals.org/. 文档指南 我们运送一套文件..

核心特点

  • •- discussion of wgpu's development.
  • •- discussion of using the library and the surrounding ecosystem.
  • •WGPU_BACKEND with a comma-separated list of the backends you want to use (vulkan, metal, dx12, or gl).
  • •WGPU_ADAPTER_NAME with a case-insensitive substring of the name of the adapter you want to use (ex. 1080 will match NVIDIA GeForce 1080ti).
  • •wgpu's MSRV is 1.87
  • •wgpu-core (and hence wgpu-hal, naga, naga-types and wgpu-types)'s MSRV is 1.87.
  • •The rest of the workspace has an MSRV of 1.93.
  • •The wgpu-core crate should never require an MSRV ahead of Firefox's MSRV for nightly builds, as
  • •The wgpu crate should never require an MSRV ahead of Servo's MSRV, as determined by the value of
  • •The repository MSRV should never require an MSRV higher than stable - 3. For example, if stable is

> 标签

Rustd3d12gpuhacktoberfestmetal

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月9日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言