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
extern crate wasm_bindgen;

//TODO: possible solution of different getParameter methods is to add accessors on different types
//TODO: safety with methods that can throw
//TODO: JsString?
//TODO: js-sys objects?
pub mod buffer;
pub mod data_view;
pub mod framebuffer;
pub mod glenum;
pub mod query;
pub mod renderbuffer;
pub mod rendering_context;
pub mod sampler;
pub mod shader_program;
pub mod sync;
pub mod texture;
pub mod transform_feedback;
pub mod uniform_location;
pub mod vertex_array_object;

pub use buffer::WebGLRSBuffer;
pub use data_view::Buffer;
pub use framebuffer::WebGLRSFramebuffer;
pub use glenum::*;
pub use query::WebGLRSQuery;
pub use renderbuffer::WebGLRSRenderbuffer;
pub use rendering_context::*;
pub use sampler::WebGLRSSampler;
pub use shader_program::{WebGLRSProgram, WebGLRSShader};
pub use sync::WebGLRSSync;
pub use texture::WebGLRSTexture;
pub use transform_feedback::WebGLRSTransformFeedback;
pub use uniform_location::WebGLRSUniformLocation;
pub use vertex_array_object::WebGLRSVertexArrayObject;