Giter VIP home page Giter VIP logo

gfx's Introduction

Travis Build Status AppVeyor Build Status Gitter Chat
Documentation | Blog

gfx-rs

gfx-rs is a graphics abstraction library in Rust. It consists of the following layers/components:

  • gfx-hal: hardware abstraction layer - a Vulkan-ic mostly unsafe API translating to native graphics backends.
  • gfx-backend-*: graphics backends for various platforms, include the windowing logic.
  • gfx-warden: data-driven reference test framework.

pre-LL

If you are looking for information about the released crates (gfx_core, gfx, gfx_device_*, gfx_window_, etc), they are being developed and published from the pre-ll branch. Code in master is a complete rewrite that will be shipped in different crates.

Features

Native API backends:

Dependencies

For Fedora

sudo dnf install -y libX11-devel vulkan

Usage

You can run the examples this way:

Note: dx12 works only in windows.

git clone https://github.com/gfx-rs/gfx
cd gfx/examples/hal
cargo run --bin quad --features vulkan
cargo run --bin compute --features dx12 1 2 3 4

The native API backend is selected by one of the features: vulkan, dx12, metal, or gl.

License

This repository is currently in the process of being licensed under either of

at your option. Some parts of the repository are already licensed according to those terms. See the tracking issue.

Contributions

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.

gfx's People

Contributors

kvark avatar sectopod avatar msiglreith avatar brendanzab avatar homu avatar emberian avatar csherratt avatar bors[bot] avatar bvssvni avatar bastacyclop avatar fkaa avatar grovesnl avatar johncolanduoni avatar kimundi avatar hannobraun avatar vickenty avatar eugene2k avatar burtonageo avatar lucidd avatar serpis avatar milibopp avatar tomaka avatar ebkalderon avatar jeremija avatar mitchmindtree avatar davll avatar vitvakatu avatar nicholasbishop avatar ebaklund avatar nical avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.