PivotQuadMaskedFragShader.cpp 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // This file was created by Filewrap 1.1
  2. // Little endian mode
  3. // DO NOT EDIT
  4. #include "../PVRTMemoryFileSystem.h"
  5. // using 32 bit to guarantee alignment.
  6. #ifndef A32BIT
  7. #define A32BIT static const unsigned int
  8. #endif
  9. // ******** Start: PivotQuadMaskedFragShader.fsh ********
  10. // File data
  11. static const char _PivotQuadMaskedFragShader_fsh[] =
  12. "uniform lowp sampler2D sTexture;\r\n"
  13. "uniform lowp vec4 Colour;\r\n"
  14. "\r\n"
  15. "varying mediump vec2 TexCoord;\r\n"
  16. "\r\n"
  17. "void main()\r\n"
  18. "{ \r\n"
  19. "\t// Write the constant colour and modulate the alpha with the intensity value from the texture \r\n"
  20. "\tgl_FragColor = vec4(Colour.rgb, Colour.a * texture2D(sTexture, TexCoord).r);\r\n"
  21. "}\r\n";
  22. // Register PivotQuadMaskedFragShader.fsh in memory file system at application startup time
  23. static CPVRTMemoryFileSystem RegisterFile_PivotQuadMaskedFragShader_fsh("PivotQuadMaskedFragShader.fsh", _PivotQuadMaskedFragShader_fsh, 314);
  24. // ******** End: PivotQuadMaskedFragShader.fsh ********
  25. // This file was created by Filewrap 1.1
  26. // Little endian mode
  27. // DO NOT EDIT
  28. #include "../PVRTMemoryFileSystem.h"
  29. // using 32 bit to guarantee alignment.
  30. #ifndef A32BIT
  31. #define A32BIT static const unsigned int
  32. #endif
  33. // ******** Start: PivotQuadMaskedFragShader.fsc ********
  34. // File data
  35. A32BIT _PivotQuadMaskedFragShader_fsc[] = {
  36. 0x10fab438,0xc054b62a,0x30050100,0x2501,0xd363e337,0x2000000,0x20000000,0x81030000,0x1000000,0x4000000,0x0,0x8000000,0x2,0x5080100,0x20000,0xa1001,0x1000000,0x68010000,0x55535020,0x20,0x15c,0x1,0x0,0x0,0x224,0x0,0x2,0x7d,0x0,0x8,0x0,0xffffffff,0x0,0x770009,0xffff,0x1,0x0,0x10000,0x4,0x0,0x0,0x0,0x0,0x3fffc,0x40000,0x1,0x0,0xffff0003,0xffffffff,0x20001,0x800000,0x0,0x1,0x10000,0x3,0x0,0x30014,0x1,0xa0000,0x20003,0x0,0x30000,0x3,0x1,
  37. 0xa1202480,0x91817002,0xffffffff,0xffffffff,0x0,0x0,0x4,0x50003,0x10000,0x80010002,0x80018001,0x8001,0x0,0x0,0x40000,0x60a0004,0x0,0x3,0x0,0x0,0x0,0x4,0x0,0x2,0x1,0x0,0x20001,0x2,0x20004,0x80018001,0x80018001,0x0,0x0,0x100000,0x100010,0xa0020000,0x40811022,0xb000004a,0x90800982,0xf0004489,0x4080100e,0xe0020480,0x40811012,0x6,0x8a010000,0x55535020,0x20,0x17e,0x1,0x0,0x0,0x2a4,0x0,0x2,0x7d,0x0,0x8,0x0,0xffffffff,0x0,0x770009,0xffff,0x10001,0x0,
  38. 0x10000,0x4,0x0,0x0,0x0,0x0,0x1fffc,0x40000,0x1,0x0,0xffff0003,0xffffffff,0x20001,0x800000,0x0,0x1,0x10000,0x3,0x0,0x30014,0x1,0xa0000,0x20003,0x0,0x30000,0x3,0x1,0xa1202480,0x91817002,0xffffffff,0xffffffff,0x0,0x0,0x4,0x20003,0x10000,0x80010002,0x80018001,0x8001,0x0,0x0,0xa0000000,0x28831000,0x5,0x20001,0x80018001,0x80018001,0x0,0x0,0x0,0x40004,0x60a,0x10000,0x0,0x0,0x0,0x40000,0x0,0x20000,0x10000,0x1,0x10000,0x20002,0x40000,
  39. 0x80010002,0x80018001,0x8001,0x0,0x0,0x0,0x0,0x10202002,0x4a4081,0x9803000,0x44899080,0x100cf000,0x4804080,0x1010e002,0x64081,0x4000000,0x0,0x0,0x0,0x0,0x54730300,0x75747865,0x6572,0x1031800,0x10000,0x200,0x10001,0x78655400,0x726f6f43,0x64,0x20603,0x100,0x2000001,0x300,0x6f6c6f43,0x7275,0x1030500,0x10000,0x100,0xf0004,0x0,
  40. };
  41. // Register PivotQuadMaskedFragShader.fsc in memory file system at application startup time
  42. static CPVRTMemoryFileSystem RegisterFile_PivotQuadMaskedFragShader_fsc("PivotQuadMaskedFragShader.fsc", _PivotQuadMaskedFragShader_fsc, 929);
  43. // ******** End: PivotQuadMaskedFragShader.fsc ********