renderdog-sys 0.1.0

Low-level RenderDoc in-application API FFI bindings (pregenerated, optional bindgen regen).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Low-level FFI bindings for RenderDoc's in-application API (`renderdoc_app.h`).
//!
//! This crate ships with pregenerated bindings for docs.rs and for environments where `bindgen`
//! (libclang) is not available. At build time, `build.rs` writes `OUT_DIR/bindings.rs` which is
//! then included by this crate.
//!
//! Maintainers can regenerate bindings with:
//!
//! - `RENDERDOG_SYS_REGEN_BINDINGS=1 cargo build -p renderdog-sys --features bindgen`
//! - or `python scripts/regen_bindings.py` from the workspace root
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
#![allow(clippy::all)]

include!(concat!(env!("OUT_DIR"), "/bindings.rs"));