[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5685":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":16,"starSnapshotCount":16,"syncStatus":18,"lastSyncTime":39,"discoverSource":40},5685,"gfx","gfx-rs\u002Fgfx","gfx-rs","[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.","http:\u002F\u002Fgfx-rs.github.io\u002F",null,"Rust",5399,531,118,326,0,1,2,5,3,39.18,"Apache License 2.0",false,"master",true,[27,28,5,29,30,31,32,33,34,35],"dx11","dx12","gpu","graphics","graphics-apis","metal","opengl","rust","vulkan","2026-06-12 02:01:13","\u003Cp align=\"center\">\n  \u003Cimg src=\"info\u002Flogo.png\">\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fmatrix.to\u002F#\u002F#gfx:matrix.org\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FMatrix-%23gfx%3Amatrix.org-blueviolet.svg\" alt=\"Matrix room\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fcrates.io\u002Fcrates\u002Fgfx-hal\">\n      \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fv\u002Fgfx-hal.svg?label=gfx-hal\" alt = \"gfx-hal on crates.io\">\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fgfx-rs\u002Fgfx\u002Factions\">\n      \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fgfx-rs\u002Fgfx\u002Fworkflows\u002FCI\u002Fbadge.svg\" alt=\"Build Status\">\n  \u003C\u002Fa>\n  \u003Cbr>\n  \u003Cstrong>\u003Ca href=\"info\u002Fgetting_started.md\">Getting Started\u003C\u002Fa> | \u003Ca href=\"http:\u002F\u002Fdocs.rs\u002Fgfx-hal\">Documentation\u003C\u002Fa> | \u003Ca href=\"http:\u002F\u002Fgfx-rs.github.io\u002F\">Blog\u003C\u002Fa> | \u003Ca href=\"https:\u002F\u002Fopencollective.com\u002Fgfx-rs\">Funding\u003C\u002Fa> \u003C\u002Fstrong>\n\u003C\u002Fp>\n\n# gfx-rs\n\ngfx-rs is a low-level, cross-platform graphics and compute abstraction library in Rust. It consists of the following components:\n\n## gfx-hal deprecation\n\nAs of the v0.9 release, gfx-hal is now in maintenance mode. gfx-hal development was mainly driven by [wgpu](https:\u002F\u002Fgithub.com\u002Fgfx-rs\u002Fwgpu), which has now switched to its own GPU abstraction called [wgpu-hal](https:\u002F\u002Fgithub.com\u002Fgfx-rs\u002Fwgpu\u002Fpull\u002F1471). For this reason, gfx-hal development has switched to maintenance only, until the developers figure out the story for gfx-portability. Read more about the transition in [#3768](https:\u002F\u002Fgithub.com\u002Fgfx-rs\u002Fgfx\u002Fdiscussions\u002F3768).\n\n## hal\n\n* `gfx-hal` which is gfx's hardware abstraction layer: a Vulkan-ic mostly unsafe API which translates to native graphics backends.\n* `gfx-backend-*` which contains graphics backends for various platforms:\n  * [Vulkan](src\u002Fbackend\u002Fvulkan) (runs on Linux, Windows, and Android)\n  * [DirectX 12](src\u002Fbackend\u002Fdx12) and [DirectX 11](src\u002Fbackend\u002Fdx11)\n  * [Metal](src\u002Fbackend\u002Fmetal) (runs on macOS and iOS)\n  * [OpenGL ES3](src\u002Fbackend\u002Fgl) (runs on Linux\u002FBSD, Android, and WASM\u002FWebGL2)\n* `gfx-warden` which is a data-driven reference test framework, used to verify consistency across all graphics backends.\n\ngfx-rs is hard to use, it's recommended for performance-sensitive libraries and engines. If that's not your domain, take a look at [wgpu-rs](https:\u002F\u002Fgithub.com\u002Fgfx-rs\u002Fwgpu-rs) for a safe and simple alternative.\n\n## Hardware Abstraction Layer\n\nThe Hardware Abstraction Layer (HAL), is a thin, low-level graphics and compute layer which translates API calls to various backends, which allows for cross-platform support. The API of this layer is based on the Vulkan API, adapted to be more Rust-friendly.\n\n\u003Cp align=\"center\">\u003Cimg src=\"info\u002Fhal.svg\" alt=\"Hardware Abstraction Layer (HAL)\" \u002F>\u003C\u002Fp>\n\nCurrently HAL has backends for Vulkan, DirectX 12\u002F11, Metal, and OpenGL\u002FOpenGL ES\u002FWebGL.\n\nThe HAL layer is consumed directly by user applications or libraries. HAL is also used in efforts such as [gfx-portability](https:\u002F\u002Fgithub.com\u002Fgfx-rs\u002Fportability).\n\nSee the [Big Picture](https:\u002F\u002Fgfx-rs.github.io\u002F2020\u002F11\u002F16\u002Fbig-picture.html) blog post for connections.\n\n## The old `gfx` crate (pre-ll)\n\nThis repository was originally home to the [`gfx`](https:\u002F\u002Fcrates.io\u002Fcrates\u002Fgfx) crate, which is now deprecated. You can find the latest versions of the code for that crate in the [`pre-ll`](https:\u002F\u002Fgithub.com\u002Fgfx-rs\u002Fgfx\u002Ftree\u002Fpre-ll) branch of this repository.\n\nThe master branch of this repository is now focused on developing [`gfx-hal`](https:\u002F\u002Fcrates.io\u002Fcrates\u002Fgfx-hal) and its associated backend and helper libraries, as described above. `gfx-hal` is a complete rewrite of `gfx`, but it is not necessarily the direct successor to `gfx`. Instead, it serves a different purpose than the original `gfx` crate, by being \"lower level\" than the original. Hence, the name of `gfx-hal` was originally `ll`, which stands for \"lower level\", and the original `gfx` is now referred to as `pre-ll`.\n\nThe spiritual successor to the original `gfx` is actually [`wgpu`](https:\u002F\u002Fgithub.com\u002Fgfx-rs\u002Fwgpu-rs), which stands on a similar level of abstraction to the old `gfx` crate, but with a modernized API that is more fit for being used over Vulkan\u002FDX12\u002FMetal. If you want something similar to the old `gfx` crate that is being actively developed, `wgpu` is probably what you're looking for, rather than `gfx-hal`.\n\n## Contributing\n\nWe are actively looking for new contributors and aim to be welcoming and helpful to anyone that is interested! We know the code base can be a bit intimidating in size and depth at first, and to this end we have a [label](https:\u002F\u002Fgithub.com\u002Fgfx-rs\u002Fgfx\u002Fissues?q=is%3Aissue+is%3Aopen+label%3Acontributor-friendly) on the issue tracker which marks issues that are new contributor friendly and have some basic direction for completion in the issue comments. If you have any questions about any of these issues (or any other issues) you may want to work on, please comment on GitHub and\u002For drop a message in our [Matrix chat](https:\u002F\u002Fmatrix.to\u002F#\u002F#gfx:matrix.org)!\n\n## License\n\n[license]: #license\n\nThis repository is licensed under either of\n\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or http:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT)\n\nat your option.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","gfx-rs 是一个为 Rust 语言设计的低开销、类似 Vulkan 的 GPU API。它提供了一个硬件抽象层（HAL），能够将图形和计算调用转换为多种原生后端，包括Vulkan、DirectX 11\u002F12、Metal 和 OpenGL等，支持跨平台开发。该项目特别适合对性能有高要求的应用场景，如游戏引擎或高性能图形库。需要注意的是，自v0.9版本起，gfx-hal已进入维护模式，对于新项目建议考虑使用wgpu-rs作为替代方案。","2026-06-11 03:04:42","top_language"]