|
4 | 4 | [![Crates.io][crate-badge]][crate-url] |
5 | 5 | [![Documentation][docs-badge]][docs-url] |
6 | 6 |
|
7 | | -[build-badge]: https://circleci.com/gh/ebkalderon/renderdoc-rs.svg?style=shield |
8 | | -[build-url]: https://circleci.com/gh/ebkalderon/renderdoc-rs/tree/master/renderdoc-sys |
| 7 | +[build-badge]: https://github.com/ebkalderon/renderdoc-rs/actions/workflows/ci.yml/badge.svg |
| 8 | +[build-url]: https://github.com/ebkalderon/renderdoc-rs/actions |
9 | 9 | [crate-badge]: https://img.shields.io/crates/v/renderdoc-sys.svg |
10 | 10 | [crate-url]: https://crates.io/crates/renderdoc-sys |
11 | 11 | [docs-badge]: https://docs.rs/renderdoc-sys/badge.svg |
12 | 12 | [docs-url]: https://docs.rs/renderdoc-sys |
13 | 13 |
|
14 | | -Low-level Rust FFI bindings to [RenderDoc], a popular graphics debugger. |
| 14 | +Low-level bindings to the [RenderDoc] in-application API. |
15 | 15 |
|
16 | 16 | [RenderDoc]: https://renderdoc.org/ |
17 | 17 |
|
18 | | -RenderDoc is a free and open source graphics debugging tool. RenderDoc allows |
19 | | -game developers to take frame captures of their applications, replay them, |
20 | | -examine the graphics pipeline state, and potentially identify nasty graphics |
21 | | -bugs. |
| 18 | +RenderDoc is a free and open source debugger for real-time graphics that allows |
| 19 | +quick and easy frame captures and detailed introspection of any application |
| 20 | +using [Vulkan], [Direct3D 11], [Direct3D 12], [OpenGL], and [OpenGL ES]. |
22 | 21 |
|
23 | | -These raw bindings are generated directly from the [renderdoc_app.h][header] |
24 | | -file provided upstream. This crate does not provide nor dynamically link to the |
25 | | -required `renderdoc.dll` or `librenderdoc.so` library itself; it only provides |
26 | | -the FFI objects for the [in-application RenderDoc API][api]. |
| 22 | +[Vulkan]: https://www.vulkan.org/ |
| 23 | +[Direct3D 11]: https://learn.microsoft.com/en-us/windows/win32/direct3d11/atoc-dx-graphics-direct3d-11 |
| 24 | +[Direct3D 12]: https://learn.microsoft.com/en-us/windows/win32/direct3d12/direct3d-12-graphics |
| 25 | +[OpenGL]: https://www.khronos.org/opengl/ |
| 26 | +[OpenGL ES]: https://www.khronos.org/opengles/ |
27 | 27 |
|
28 | | -[header]: https://github.com/baldurk/renderdoc/blob/v1.x/renderdoc/api/app/renderdoc_app.h |
| 28 | +These bindings are automatically generated from [`renderdoc_app.h`] with |
| 29 | +[`bindgen`]. This crate does not provide nor link to `renderdoc.dll` nor |
| 30 | +`librenderdoc.so` by itself; it only contains the FFI symbols. Refer to the |
| 31 | +upstream [In-Application API][api] documentation for correct usage details. |
| 32 | + |
| 33 | +[`renderdoc_app.h`]: https://github.com/baldurk/renderdoc/blob/v1.x/renderdoc/api/app/renderdoc_app.h |
| 34 | +[bindgen]: https://github.com/rust-lang/rust-bindgen |
29 | 35 | [api]: https://renderdoc.org/docs/in_application_api.html |
| 36 | + |
| 37 | +For a safe wrapper, see the [`renderdoc`](https://docs.rs/renderdoc) crate. |
| 38 | + |
| 39 | +## License |
| 40 | + |
| 41 | +`renderdoc-sys` is free and open source software distributed under the terms of |
| 42 | +either the [MIT](LICENSE-MIT) or the [Apache 2.0](LICENSE-APACHE) license, at |
| 43 | +your option. |
| 44 | + |
| 45 | +Unless you explicitly state otherwise, any contribution intentionally submitted |
| 46 | +for inclusion in the work by you, as defined in the Apache-2.0 license, shall be |
| 47 | +dual licensed as above, without any additional terms or conditions. |
0 commit comments