PageRenderTime 48ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/include/glxx/gl_ext_gpu_shader4.h

https://bitbucket.org/yotis/glxx
C Header | 54 lines | 48 code | 6 blank | 0 comment | 0 complexity | 4105971001ebc665033e36380aa03851 MD5 | raw file
  1. #ifndef GL_EXT_gpu_shader4
  2. #define GL_EXT_gpu_shader4
  3. #include "private/glxx.h"
  4. #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
  5. #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
  6. #define GL_SAMPLER_BUFFER_EXT 0x8DC2
  7. #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
  8. #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
  9. #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
  10. #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
  11. #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
  12. #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
  13. #define GL_INT_SAMPLER_1D_EXT 0x8DC9
  14. #define GL_INT_SAMPLER_2D_EXT 0x8DCA
  15. #define GL_INT_SAMPLER_3D_EXT 0x8DCB
  16. #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
  17. #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
  18. #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
  19. #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
  20. #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
  21. #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
  22. #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
  23. #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
  24. #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
  25. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
  26. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
  27. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
  28. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
  29. namespace gl_ext_gpu_shader4
  30. {
  31. GLXX_EXPORT void glGetUniformuivEXT(GLuint program, GLint location, GLuint* params);
  32. GLXX_EXPORT void glBindFragDataLocationEXT(GLuint program, GLuint color, const GLchar* name);
  33. GLXX_EXPORT GLint glGetFragDataLocationEXT(GLuint program, const GLchar* name);
  34. GLXX_EXPORT void glUniform1uiEXT(GLint location, GLuint v0);
  35. GLXX_EXPORT void glUniform2uiEXT(GLint location, GLuint v0, GLuint v1);
  36. GLXX_EXPORT void glUniform3uiEXT(GLint location, GLuint v0, GLuint v1, GLuint v2);
  37. GLXX_EXPORT void glUniform4uiEXT(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  38. GLXX_EXPORT void glUniform1uivEXT(GLint location, GLsizei count, const GLuint* value);
  39. GLXX_EXPORT void glUniform2uivEXT(GLint location, GLsizei count, const GLuint* value);
  40. GLXX_EXPORT void glUniform3uivEXT(GLint location, GLsizei count, const GLuint* value);
  41. GLXX_EXPORT void glUniform4uivEXT(GLint location, GLsizei count, const GLuint* value);
  42. }
  43. #ifdef GLXX_NAMESPACE_INJECTION
  44. using namespace gl_ext_gpu_shader4;
  45. #endif
  46. GLXX_EXPORT bool has_gl_ext_gpu_shader4();
  47. GLXX_EXPORT bool load_gl_ext_gpu_shader4();
  48. #endif