vk/lib.rs
1//! Vulkan ABI and cached native dispatch, with one implementation per operation.
2//!
3//! Cargo package: `vkrust`. Rust import namespace: `vk`.
4//! Core ABI exports, including StdVideo codec definitions, are available at the crate root.
5//!
6//! ```
7//! let info = vk::InstanceCreateInfo::default();
8//! assert_eq!(info.s_type, vk::StructureType::INSTANCE_CREATE_INFO);
9//! let _: vk::core::InstanceHandle = vk::InstanceHandle::NULL;
10//! ```
11pub mod core;
12pub use core::*;
13
14#[cfg(feature = "loader")]
15pub mod load;
16#[cfg(feature = "loader")]
17pub use load::{
18 CallError, Capabilities, CommandSupport, CreatedHandle, Entry, FeatureValue, Features,
19 InitializationFailure, LoadError,
20};
21#[cfg(feature = "allocator")]
22pub mod memory;
23#[cfg(feature = "allocator")]
24pub use memory::{
25 AllocError, AllocRequest, Allocation, Allocator, VirtualAllocation, VirtualBlock,
26};