1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! # Mepeyew
//!
//! ## Introduction
//!
//! Mepeyew is a rendering abstraction layer created for [`mewo`](https://github.com/davnotdev/mewo).
//! Essentially, Mepeyew allows you to draw graphics on the GPU without having to
//! worry about the platform specific details.
//! Additionally, Mepeyew has zero unnecessary dependencies, perfect for people who have
//! bundlephobia (like me).
//! For more details, see the [Github page](https://github.com/davnotdev/mepeyew).
//!
//! ## Usage
//!
//! Graphics programming is complicated...
//!
//! For this reason, my best advice for you is to have a look at the examples on the [Github page](https://github.com/davnotdev/mepeyew/tree/main/examples).
//!
//! ## Platform Dependent Nastiness
//!
//! Unfortunately, not everything can be fully abstracted.
//!
//! Here's the list of oddities to look out for.
//!
//! ### Uniform Padding
//!
//! Both Vulkan and WebGPU have very specific alignment requirements for uniform buffers (of any kind).
//! Failing to conform with these requirements leads to strange shader behaviour.
//! You can read [this blog](https://fvcaputo.github.io/2019/02/06/memory-alignment.html)
//! for a good explanation.
//!
//! ### Step Dependencies
//!
//! Certain methods such as [`PassStep::set_wait_for_depth_from_step`]
//! don't have an effect on all APIs.
//! However, on backends that do utilize these methods, they are indispensable.
//! For this reason, you should always use these methods even if you code appears
//! to work without it.
pub
pub use ;
pub use ;