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
54
55
56
57
58
59
60
use nalgebra as na;
#[allow(unused_imports)]
use serde::{Deserialize, Serialize};
pub mod prelude;
pub mod gl;
#[cfg(any(feature = "gles1", feature = "gles2", feature = "gles3"))]
pub use gl::GLeglImageOES;
pub use gl::{
load_with, GLbitfield, GLboolean, GLchar, GLenum, GLfloat, GLint, GLintptr, GLsizei,
GLsizeiptr, GLubyte, GLuint, GLvoid,
};
pub mod apis;
pub use apis::*;
pub mod error;
pub use error::Error;
pub mod auto_binder;
pub use auto_binder::*;
pub mod buffer;
pub use buffer::*;
pub mod clear_buffers;
pub use clear_buffers::*;
pub mod framebuffer;
pub use framebuffer::*;
pub mod shader;
pub use shader::*;
pub mod so;
pub mod texture;
pub use texture::*;
pub mod variant;
pub use variant::*;
pub mod viewport;
pub use viewport::*;
pub type Finalizer<'a, T> = Box<dyn Fn(&T) + 'a>;
pub type Isometry3 = na::Isometry3<GLfloat>;
pub type Orthographic3 = na::Orthographic3<GLfloat>;
pub type Perspective3 = na::Perspective3<GLfloat>;
pub type Matrix4 = na::Matrix4<GLfloat>;
pub type Transform3 = na::Transform3<GLfloat>;
pub type Vector2 = na::Vector2<GLfloat>;
pub type Vector3 = na::Vector3<GLfloat>;
pub type Vector4 = na::Vector4<GLfloat>;