# gfx-rs/gfx

[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.

Repository: https://github.com/gfx-rs/gfx
Canonical: https://ross.abutalabs.com/products/gfx
Homepage: http://gfx-rs.github.io/
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: graphics-apis, rust, gfx, opengl, vulkan, metal, dx12, dx11, graphics, gpu
Last push: 2023-02-27T01:05:58+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4696, "days_push": 1284, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5398, forks 529 (observed 2026-08-28T04:09:17.367977+00:00)

## What it is
gfx-rs is a low-level, Vulkan-like GPU hardware abstraction layer for Rust that translates to native backends including Vulkan, DirectX 11/12, Metal, and OpenGL/WebGL. It is now in maintenance mode, with development effort having moved to wgpu's own wgpu-hal abstraction.

## Use cases
- write cross-platform GPU code in Rust
- abstract over Vulkan, Metal, and DirectX from one API
- build a graphics engine with low-overhead GPU access
- port Vulkan applications to macOS via Metal
- run graphics code in the browser through WebGL2

## When to choose
- you need a thin, mostly-unsafe, Vulkan-like API with minimal overhead
- you are building a performance-sensitive rendering library or game engine
- you need to target multiple native graphics backends from a single Rust codebase

## When to avoid
- you want a safe, ergonomic GPU API - use wgpu instead
- you need a library under active development with new features
- you are new to graphics programming and want a simple API

## Facets
- artifact type: library
- maturity: maintenance
- function: graphics, game-engine
- domain: graphics, cross-platform
- platform: rust, windows, wasm
- tags: vulkan, metal, directx, opengl, gpu-abstraction, hardware-abstraction-layer, compute, game-development, linux, macos, android, ios

## Member repositories
- gfx-rs/gfx (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:17.367977+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:58:22.054931+00:00, confidence not recorded.
  - readme: https://github.com/gfx-rs/gfx (fetched 2026-08-28T04:09:17.367977+00:00, sha 21854610d28d)
  - homepage: http://gfx-rs.github.io/ (fetched 2026-08-29T08:52:33.139104+00:00, sha 2b2e392cb374)
  - registry_crates: https://crates.io/api/v1/crates/gfx (fetched 2026-08-29T08:52:33.142895+00:00, sha e29188fbd844)
- Data as of 2026-08-30T08:39:29.467469+00:00.
