Debian Codegraph @

examples/data/ex_prim_high_vertex.glsl

raw
1 attribute vec4 al_pos;
2 attribute vec2 al_texcoord;
3
4 uniform mat4 al_projview_matrix;
5
6 varying vec2 texcoord;
7
8 void main()
9 {
10 texcoord = al_texcoord;
11 gl_Position = al_projview_matrix * al_pos;
12 }