grafix_toolbox/kit/
opengl.rs1pub use context::event;
2pub use context::window;
3
4pub mod pre {
5 pub use gl;
6 pub type Query = spec::Object<spec::Query>; pub use super::utility::{DebugLevel, EnableDebugContext};
8 pub use super::{context::Fence, geom::FocusCam};
9 pub use bind::*;
10 pub use buffer::*;
11 pub use fbo::*;
12 pub use shader::*;
13 pub use states::*;
14 pub use tex::*;
15 pub use types::*;
16 pub mod macro_uses {
17 pub use super::super::{control::gl_was_initialized, shader::uniform::uniforms_use, shader::InlineShader, texture::sampler_use};
18 }
19 pub mod bind {
20 use super::super::*;
21 pub use buffer::{Mapping, MappingMut, ShdArrBinding, VaoBinding};
22 pub use shader::ShaderBinding;
23 pub use texture::{TexBuffBinding, TextureBinding};
24 }
25 pub mod buffer {
26 pub use super::super::buffer::{AttrArr, IdxArr, ShdStorageArr, UniformArr, Vao};
27 }
28 pub mod fbo {
29 pub use super::super::frame::{Fbo, Frame, FrameInfo, Framebuffer, RenderTgt, Renderbuffer, Slab};
30 }
31 pub mod shader {
32 pub use super::super::shader::{Shader, ShaderManager};
33 }
34 pub mod states {
35 pub use super::super::funcs_def::*;
36 }
37 pub mod tex {
38 use super::super::*;
39 pub use texture::{chans::*, spec::*, Sampler, Tex, TexBuffer, TexParam};
40 pub use utility::{fImage, uImage, Image};
41 }
42 pub mod types {
43 pub use gl::types::{GLbitfield, GLboolean as GLbool, GLenum, GLvoid};
44 pub use half::f16;
45 }
46 pub mod spec {
47 use super::super::*;
48 pub use buffer::{AttrType, IdxType};
49 pub use control::{object::*, policy::*};
50 }
51 pub mod atlas {
52 pub use super::super::utility::{pack_into_atlas, Animation, TexAtlas, Tile, VTex2d, VTex2dEntry};
53 }
54 pub mod font {
55 pub use super::super::utility::{Font, Glyph};
56 }
57 pub mod offhand {
58 pub use super::super::context::Offhand;
59 }
60 pub mod sdf {
61 pub use super::super::utility::SdfGenerator;
62 }
63 pub mod laplacian {
64 pub use super::super::utility::{collapse, pyramid};
65 }
66 pub mod pbrt {
67 pub use super::super::utility::{EnvTex, Environment};
68 }
69 pub mod mesh {
70 pub use super::super::geom::{ps_mesh__2d_screen, vs_mesh__2d_screen, AnyMesh, Mesh, Model, Screen, Skybox};
71 }
72 pub mod unigl {
73 pub use super::super::control::universion::*;
74 }
75}
76
77mod internal {
78 pub use super::control::{object::*, policy::*, state::*, tex_state::*, uniform_state::*, universion::*};
79}
80
81#[macro_use]
82mod control;
83#[macro_use]
84mod funcs_def;
85#[macro_use]
86mod shader;
87
88mod buffer;
89mod context;
90mod frame;
91mod geom;
92mod texture;
93mod utility;