Expand description
gl/glutin/glium + general graphics utility functions.
Re-exports§
pub use self::camera2d::Camera2d;pub use self::camera3d::Camera3d;pub use self::mesh::Mesh;pub use self::render::Render;pub use glium;pub use gltf;pub use image;pub use vec_map;pub use winit;pub use color_utils as color;pub use math_utils as math;
Modules§
- camera2d
- Types and functions for 2D rendering.
- camera3d
- Types and functions for 3D rendering.
- graphics
- General graphics-related utility functions
- info
- Functions for writing various
gliumandglutincontext info to a file handle. - init
- Glium initialization functions
- mesh
- Mesh generation utilities.
- render
- Support types for Glium rendering.
- shader
- Shader and shader program utilities.
- texture
- Texture related utilities.
- tile
- Tile utilities.
- util
- Utility functions
- vertex
- Vertex related utilities including vertex specifications.
Macros§
- def_
programs - Define a list of shaders with source paths and a list of shader programs using those shaders.
- def_
programs_ include - Like
def_programs!except that the shader source will be compiled-in withinclude_str!. The original source path is still available through thesource_pathmethod on shader IDs, but it is not required to be present when loading shaders.