All Projects → gfx-rs → Gfx

gfx-rs / Gfx

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

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Gfx

Bgfx
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Stars: ✭ 10,252 (+103.21%)
Mutual labels:  opengl, graphics, vulkan, metal
Shaderconductor
ShaderConductor is a tool designed for cross-compiling HLSL to other shading languages
Stars: ✭ 1,146 (-77.28%)
Mutual labels:  opengl, graphics, vulkan, metal
Filament
Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
Stars: ✭ 13,215 (+161.94%)
Mutual labels:  opengl, graphics, vulkan, metal
Veldrid
A low-level, portable graphics library for .NET.
Stars: ✭ 1,784 (-64.64%)
Mutual labels:  opengl, graphics, vulkan, metal
wgpu-py
Next generation GPU API for Python
Stars: ✭ 210 (-95.84%)
Mutual labels:  metal, vulkan, dx12
Explosion
💥 A modern cross-platform game engine (WIP)
Stars: ✭ 102 (-97.98%)
Mutual labels:  metal, vulkan, dx12
YALCT
Yet Another Live Coding Tool - Powered by Veldrid and elbow grease
Stars: ✭ 25 (-99.5%)
Mutual labels:  metal, vulkan, graphics-apis
Fiber2d
Cross-platform 2D Game Engine in pure Swift
Stars: ✭ 415 (-91.77%)
Mutual labels:  opengl, vulkan, metal
Yudisplacementtransition
A GPU accelerated transition library makes use of displacement maps to create distortion effects.
Stars: ✭ 121 (-97.6%)
Mutual labels:  opengl, metal, gpu
pygfx
Like ThreeJS but for Python and based on wgpu
Stars: ✭ 72 (-98.57%)
Mutual labels:  metal, vulkan, dx12
Shadergen
Proof-of-concept library for generating HLSL, GLSL, and Metal shader code from C#,
Stars: ✭ 395 (-92.17%)
Mutual labels:  opengl, graphics, vulkan
Remotery
Single C file, Realtime CPU/GPU Profiler with Remote Web Viewer
Stars: ✭ 1,908 (-62.18%)
Mutual labels:  opengl, metal, gpu
Bansheeengine
Modern C++14 game engine with Vulkan support, fully featured editor and C# scripting
Stars: ✭ 2,906 (-42.4%)
Mutual labels:  opengl, graphics, vulkan
Pmtech
Lightweight, multi-platform, data-oriented game engine.
Stars: ✭ 478 (-90.53%)
Mutual labels:  opengl, vulkan, metal
Bsf
Modern C++14 library for the development of real-time graphical applications
Stars: ✭ 1,640 (-67.49%)
Mutual labels:  opengl, graphics, vulkan
Xacor
Experimental Game Engine
Stars: ✭ 24 (-99.52%)
Mutual labels:  vulkan, dx11, dx12
Diligentcore
Core functionality of Diligent Engine
Stars: ✭ 263 (-94.79%)
Mutual labels:  opengl, graphics, vulkan
Ultralight
Next-generation HTML renderer for apps and games
Stars: ✭ 3,585 (-28.94%)
Mutual labels:  opengl, metal, gpu
Crossshader
⚔️ A tool for cross compiling shaders. Convert between GLSL, HLSL, Metal Shader Language, or older versions of GLSL.
Stars: ✭ 113 (-97.76%)
Mutual labels:  opengl, vulkan, metal
Magnum
Lightweight and modular C++11 graphics middleware for games and data visualization
Stars: ✭ 3,728 (-26.11%)
Mutual labels:  opengl, graphics, vulkan

Matrix room gfx-hal on crates.io Build Status
Getting Started | Documentation | Blog | Funding

gfx-rs

gfx-rs is a low-level, cross-platform graphics and compute abstraction library in Rust. It consists of the following components:

gfx-hal deprecation

As of the v0.9 release, gfx-hal is now in maintenance mode. gfx-hal development was mainly driven by wgpu, which has now switched to its own GPU abstraction called wgpu-hal. 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.

hal

  • gfx-hal which is gfx's hardware abstraction layer: a Vulkan-ic mostly unsafe API which translates to native graphics backends.
  • gfx-backend-* which contains graphics backends for various platforms:
  • gfx-warden which is a data-driven reference test framework, used to verify consistency across all graphics backends.

gfx-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 for a safe and simple alternative.

Hardware Abstraction Layer

The 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.

Hardware Abstraction Layer (HAL)

Currently HAL has backends for Vulkan, DirectX 12/11, Metal, and OpenGL/OpenGL ES/WebGL.

The HAL layer is consumed directly by user applications or libraries. HAL is also used in efforts such as gfx-portability.

See the Big Picture blog post for connections.

The old gfx crate (pre-ll)

This repository was originally home to the gfx crate, which is now deprecated. You can find the latest versions of the code for that crate in the pre-ll branch of this repository.

The master branch of this repository is now focused on developing gfx-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.

The spiritual successor to the original gfx is actually wgpu, 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/DX12/Metal. 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.

Contributing

We 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 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/or drop a message in our Matrix chat!

License

This repository is licensed under either of

at your option.

Unless 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].