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