1// This file was created by Filewrap 1.1 2// Little endian mode 3// DO NOT EDIT 4 5#include "../PVRTMemoryFileSystem.h" 6 7// using 32 bit to guarantee alignment. 8#ifndef A32BIT 9 #define A32BIT static const unsigned int 10#endif 11 12// ******** Start: DefaultVertShader.vsh ******** 13 14// File data 15static const char _DefaultVertShader_vsh[] = 16 "attribute highp vec3 inVertex;\n" 17 "attribute mediump vec2 inTexCoord;\n" 18 "\n" 19 "uniform highp mat4 MVPMatrix;\n" 20 "uniform float\tfUOffset;\n" 21 "\n" 22 "varying mediump vec2 TexCoord;\n" 23 "\n" 24 "void main()\n" 25 "{\n" 26 "\tgl_Position = MVPMatrix * vec4(inVertex, 1.0);\n" 27 "\n" 28 "\t// Pass through texcoords\n" 29 "\tTexCoord = inTexCoord;\n" 30 "\tTexCoord.x += fUOffset;\n" 31 "}\n" 32 " "; 33 34// Register DefaultVertShader.vsh in memory file system at application startup time 35static CPVRTMemoryFileSystem RegisterFile_DefaultVertShader_vsh("DefaultVertShader.vsh", _DefaultVertShader_vsh, 301); 36 37// ******** End: DefaultVertShader.vsh ******** 38 39