Skip to main content

vulkan_rust_sys/
lib.rs

1//! Raw Vulkan FFI types generated from `vk.xml`.
2//!
3//! Do not edit by hand,regenerate with the `generator` crate.
4//!
5//! Every type carries a spec link, and structs include metadata from
6//! vk.xml: extension provenance, pNext chain relationships, member
7//! annotations (optional, length-of, thread safety).
8
9#![no_std]
10#![allow(non_camel_case_types)]
11#![allow(non_upper_case_globals)]
12
13mod string_array;
14pub use string_array::{
15    StringArray, ExtensionName, LayerName, DeviceName,
16    DescriptionName, DriverName, DriverInfo,
17};
18
19mod handles;
20mod enums;
21mod bitmasks;
22mod constants;
23pub mod extension_names;
24mod structs;
25mod builders;
26mod clear_value;
27pub mod commands;
28
29pub use handles::*;
30pub use enums::*;
31pub use bitmasks::*;
32pub use constants::*;
33pub use structs::*;
34pub use builders::*;
35
36/// Vulkan device memory size, in bytes.
37pub type DeviceSize = u64;
38/// Vulkan device memory address.
39pub type DeviceAddress = u64;