11 releases
Uses old Rust 2015
0.3.0 | May 26, 2015 |
---|---|
0.2.2 | May 25, 2015 |
0.1.6 | May 25, 2015 |
#222 in Windows APIs
14KB
255 lines
dx_core
DirectX bindings for the rust programming language.
dx_core is the core crate of the dx-rs project. It provides an implementation of the IUnknown
trait called Unknown
, provides a smart pointer type called ComRef
which provides automatic management of the various COM objects returned by the DirectX APIs and will eventually provide other components that are common across the dx-rs family of crates.
Details
The goal of dx-rs is to provide a set of idiomatic bindings to DirectX for the rust programming language. The bindings will not only expose functionality of the different COM objects using traits, but it will also leverage the capabilities of rust to provide automatic lifetime management of all COM objects.
This is currently a work in progress project. The lifetime management of COM objects is complete and may be spun off into a library of its own. The next steps are to parse the DirectX headers and generate all the necessary code to make the bindings work.
The primary goal is to expose the DXGI, Direct3D 11, Direct3D 10, and Direct2D APIs to rust, with plans to expand to the other APIs unrelated to graphics.
The project is licensed under the Apache 2.0 license.