frienderer 0.12.1

Very simple OpenGL renderer, mainly for GUIs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const SRC_VERT_RRECT: &str = include_str!("./shaders/rrect.vert");
const SRC_FRAG_RRECT: &str = include_str!("./shaders/rrect.frag");

const SRC_VERT_QUAD: &str = include_str!("./shaders/quad.vert");
const SRC_FRAG_TEXTURE: &str = include_str!("./shaders/texture.frag");

#[cfg(feature = "text")]
const SRC_VERT_GLYPH_QUAD: &str = include_str!("./shaders/glyph_quad.vert");
#[cfg(feature = "text")]
const SRC_FRAG_GLYPH_TEXTURE: &str = include_str!("./shaders/glyph_texture.frag");

#[cfg(feature = "text")]
pub mod glyph_quad;

pub mod quad;
pub mod rrect;