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
mod camera;
mod canvas;
pub mod color;
mod context;
mod frame;
mod instance;
mod layer;
mod layout;
mod r#loop;
mod mesh;
mod pipline;
mod render;
mod shader_consts;
mod shader_data;
mod size;
mod storage;
mod texture;
mod time;
pub mod transform;
pub mod vertex;

pub mod input {
    //! User's input types.
    pub use crate::r#loop::{Input, Key, Keys, KeysIterator, Mouse};
}

#[cfg(not(target_arch = "wasm32"))]
pub use crate::canvas::make_window;

#[cfg(target_arch = "wasm32")]
pub use crate::canvas::from_element;

pub use crate::{
    camera::{Orthographic, Perspective, View},
    canvas::{Canvas, InitialState, WindowMode},
    context::{Context, FrameParameters, Limits},
    frame::Frame,
    layer::{Builder as LayerBuilder, Layer},
    mesh::Data as MeshData,
    r#loop::{Error, Loop},
    render::{InstanceHandle, MeshHandle, TextureHandle, ViewHandle},
    texture::{Data as TextureData, FrameFilter},
};