• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 300 es
2
3#define VERTEX_ARRAY  0
4#define TEXCOORD_ARRAY  1
5
6layout (location = VERTEX_ARRAY) in highp   vec4  inVertex;
7layout (location = TEXCOORD_ARRAY) in mediump vec2  inTexCoord;
8
9out mediump    vec2  texCoords;
10
11void main()
12{
13	gl_Position  = inVertex;
14	texCoords    = inTexCoord;
15}
16