shaders_graphics2d/colored/
mod.rs

1//! Shaders for colored rendering.
2
3/// Vertex shader for GLSL 1.20
4pub const VERTEX_GLSL_120: &'static [u8] = include_bytes!("120.glslv");
5/// Vertex shader for GLSL 1.50
6pub const VERTEX_GLSL_150_CORE: &'static [u8] = include_bytes!("150_core.glslv");
7
8/// Fragment shader for GLSL 1.20
9pub const FRAGMENT_GLSL_120: &'static [u8] = include_bytes!("120.glslf");
10/// Fragmentshader for GLSL 1.50
11pub const FRAGMENT_GLSL_150_CORE: &'static [u8] = include_bytes!("150_core.glslf");
12
13/// Vertex shader for GLSL 1.20 WebGL
14pub const VERTEX_GLSL_120_WEBGL: &'static [u8] = include_bytes!("120_webgl.glslv");
15/// Vertex shader for GLSL 1.50 WebGL
16pub const VERTEX_GLSL_150_CORE_WEBGL: &'static [u8] = include_bytes!("150_core_webgl.glslv");
17
18/// Fragment shader for GLSL 1.20 WebGL
19pub const FRAGMENT_GLSL_120_WEBGL: &'static [u8] = include_bytes!("120_webgl.glslf");
20/// Fragmentshader for GLSL 1.50 WebGL
21pub const FRAGMENT_GLSL_150_CORE_WEBGL: &'static [u8] = include_bytes!("150_core_webgl.glslf");