crystal_api/
lib.rs

1#![deny(clippy::panic)]
2#![deny(clippy::expect_used)]
3#![deny(clippy::panic_in_result_fn)]
4#![warn(missing_docs)]
5#![warn(unreachable_pub)]
6
7//! # Crystal API
8//! Crystal API is a unified wrapper for GPU APIs designed for the best capability
9//! with any solutions in apps development
10
11/// Bitflags module
12pub mod bitflags;
13/// Buffer module
14pub mod buffer;
15/// Debug module
16pub mod debug;
17/// Device module
18pub mod device;
19/// Errors module
20pub mod errors;
21mod gpu_sampler_set;
22/// Layout module
23pub mod layout;
24/// Mesh module
25pub mod mesh;
26/// Object module
27pub mod object;
28/// Pipeline module
29pub mod pipeline;
30mod proxies;
31/// Render target module
32pub mod render_target;
33/// Settings module
34pub mod settings;
35mod shader;
36#[cfg(all(test, debug_assertions))]
37mod tests;
38/// Texture module
39pub mod texture;
40mod vulkan;
41
42pub use device::Device;
43
44pub use gpu_sampler_set::*;
45pub use settings::GraphicsApiInitSettings;
46pub use shader::{Shader, ShaderStage};