mira/
lib.rs

1//! # mira
2//! [![crates.io](https://img.shields.io/crates/v/mira.svg)](https://crates.io/crates/mira)
3//! [![docs.rs](https://docs.rs/mira/badge.svg)](https://docs.rs/mira)
4//! [![license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
5//!
6//! Pure and simple Vulkan bindings generated from Vulkan-Headers!
7//!
8//! Mira provides a simple and straightforward way to interact with Vulkan.
9//! Everything was generated by bindgen and uses the original API names.
10//!
11//! This crate provides:
12//! * 👀 Raw function pointers!
13//! * 💯 Dynamic loader of instance and device commands!
14//! * ✍️ Original names of commands, structures and macros!
15//!
16//! ## Examples
17//! Successfully tested on Linux(Lubuntu 20.04) with Intel(R) HD Graphics 620 (KBL GT2).
18//! <br><br>
19//!
20//! ### Color
21//! Displays a window with a purple background.
22//! ```bash
23//! cargo run --example color
24//! ```
25//!
26//! ![screenshot](https://github.com/onlymaresia/mira/raw/HEAD/examples/mira_color.png)
27//! <br><br>
28//!
29//! ## Vulkan version
30//! 1.3.302 (with av1, h264 and h265 video extensions)
31//! 
32//! For a version in sync with the official vulkan headers repository clone this
33//! project from github and run the generator.
34//!
35//! [Vulkan Changelog](https://github.com/KhronosGroup/Vulkan-Docs/blob/main/ChangeLog.adoc)
36//! <br><br>
37//!
38//! ## License
39//!
40//! [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)
41//! <br><br>
42
43#![allow(non_upper_case_globals)]
44#![allow(non_camel_case_types)]
45#![allow(non_snake_case)]
46
47pub mod error;
48pub mod loader;
49pub mod mem;
50pub mod version;
51pub mod vulkan;