easy_wgpu/
lib.rs

1// #![warn(
2//     clippy::all,
3//     // clippy::restriction,
4//     clippy::pedantic,
5//     // clippy::nursery,
6//     // clippy::cargo
7// )]
8// //some lints are really just too pedantic
9// // clippy::module_name_repetitions, // This makes code confusing if you do
10// widlcard ::* importing // clippy::must_use_candidate,
11// // clippy::missing_const_for_fn
12// // clippy::inefficient_to_string, // IMO if to_string is hot you have other
13// problems // clippy::multiple_crate_versions, // I'm amazed you can deny this
14// one in a codebase of any size // clippy::redundant_pub_crate, // This one
15// disagrees with the rustc lint unreachable_pub in many cases which is a hard
16// no from me // clippy::use_self, // As far as I can tell, this lint bans fn
17// new() for types with a lifetime param // clippy::similar_names // Requires a
18// lot of contorting if functions are large
19// #![allow(clippy::module_name_repetitions)] // This makes code confusing if
20// you do widlcard ::* importing #![allow(clippy::must_use_candidate)]
21
22pub mod bind_group;
23// pub mod bind_group_collection;
24pub mod bind_group_layout;
25// pub mod bufferpool;
26//TODO this might not be necessary as it lives also in egui itsel
27// #[cfg(feature = "with-gui")]
28// pub mod egui_renderer;
29pub mod framebuffer;
30pub mod gpu;
31pub mod pipeline;
32// pub mod render_pass; //DOES NOT work because we return something that has to
33// live within the current context, also it does not save us much coding space
34// to use this abstraction
35pub mod buffer;
36pub mod mipmap;
37pub mod texture;
38pub mod utils;