Constant shaders_graphics2d::colored::VERTEX_GLSL_120_WEBGL [−][src]
pub const VERTEX_GLSL_120_WEBGL: &'static [u8] = b"precision mediump float;\nattribute vec4 color;\nattribute vec2 pos;\n\nvarying vec4 v_Color;\n\nvoid main() {\n v_Color = color;\n gl_Position = vec4(pos, 0.0, 1.0);\n}\n";
Vertex shader for GLSL 1.20 WebGL