PageRenderTime 49ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/PyOpenGL-3.0.1/OpenGL/raw/GL/EXT/gpu_shader4.py

#
Python | 149 lines | 132 code | 12 blank | 5 comment | 0 complexity | f1ff49394cad232fc823841f16dee80f MD5 | raw file
  1. '''OpenGL extension EXT.gpu_shader4
  2. Automatically generated by the get_gl_extensions script, do not edit!
  3. '''
  4. from OpenGL import platform, constants, constant, arrays
  5. from OpenGL import extensions
  6. from OpenGL.GL import glget
  7. import ctypes
  8. EXTENSION_NAME = 'GL_EXT_gpu_shader4'
  9. _DEPRECATED = False
  10. GL_SAMPLER_1D_ARRAY_EXT = constant.Constant( 'GL_SAMPLER_1D_ARRAY_EXT', 0x8DC0 )
  11. GL_SAMPLER_2D_ARRAY_EXT = constant.Constant( 'GL_SAMPLER_2D_ARRAY_EXT', 0x8DC1 )
  12. GL_SAMPLER_BUFFER_EXT = constant.Constant( 'GL_SAMPLER_BUFFER_EXT', 0x8DC2 )
  13. GL_SAMPLER_1D_ARRAY_SHADOW_EXT = constant.Constant( 'GL_SAMPLER_1D_ARRAY_SHADOW_EXT', 0x8DC3 )
  14. GL_SAMPLER_2D_ARRAY_SHADOW_EXT = constant.Constant( 'GL_SAMPLER_2D_ARRAY_SHADOW_EXT', 0x8DC4 )
  15. GL_SAMPLER_CUBE_SHADOW_EXT = constant.Constant( 'GL_SAMPLER_CUBE_SHADOW_EXT', 0x8DC5 )
  16. GL_UNSIGNED_INT_VEC2_EXT = constant.Constant( 'GL_UNSIGNED_INT_VEC2_EXT', 0x8DC6 )
  17. GL_UNSIGNED_INT_VEC3_EXT = constant.Constant( 'GL_UNSIGNED_INT_VEC3_EXT', 0x8DC7 )
  18. GL_UNSIGNED_INT_VEC4_EXT = constant.Constant( 'GL_UNSIGNED_INT_VEC4_EXT', 0x8DC8 )
  19. GL_INT_SAMPLER_1D_EXT = constant.Constant( 'GL_INT_SAMPLER_1D_EXT', 0x8DC9 )
  20. GL_INT_SAMPLER_2D_EXT = constant.Constant( 'GL_INT_SAMPLER_2D_EXT', 0x8DCA )
  21. GL_INT_SAMPLER_3D_EXT = constant.Constant( 'GL_INT_SAMPLER_3D_EXT', 0x8DCB )
  22. GL_INT_SAMPLER_CUBE_EXT = constant.Constant( 'GL_INT_SAMPLER_CUBE_EXT', 0x8DCC )
  23. GL_INT_SAMPLER_2D_RECT_EXT = constant.Constant( 'GL_INT_SAMPLER_2D_RECT_EXT', 0x8DCD )
  24. GL_INT_SAMPLER_1D_ARRAY_EXT = constant.Constant( 'GL_INT_SAMPLER_1D_ARRAY_EXT', 0x8DCE )
  25. GL_INT_SAMPLER_2D_ARRAY_EXT = constant.Constant( 'GL_INT_SAMPLER_2D_ARRAY_EXT', 0x8DCF )
  26. GL_INT_SAMPLER_BUFFER_EXT = constant.Constant( 'GL_INT_SAMPLER_BUFFER_EXT', 0x8DD0 )
  27. GL_UNSIGNED_INT_SAMPLER_1D_EXT = constant.Constant( 'GL_UNSIGNED_INT_SAMPLER_1D_EXT', 0x8DD1 )
  28. GL_UNSIGNED_INT_SAMPLER_2D_EXT = constant.Constant( 'GL_UNSIGNED_INT_SAMPLER_2D_EXT', 0x8DD2 )
  29. GL_UNSIGNED_INT_SAMPLER_3D_EXT = constant.Constant( 'GL_UNSIGNED_INT_SAMPLER_3D_EXT', 0x8DD3 )
  30. GL_UNSIGNED_INT_SAMPLER_CUBE_EXT = constant.Constant( 'GL_UNSIGNED_INT_SAMPLER_CUBE_EXT', 0x8DD4 )
  31. GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT = constant.Constant( 'GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT', 0x8DD5 )
  32. GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT = constant.Constant( 'GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT', 0x8DD6 )
  33. GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT = constant.Constant( 'GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT', 0x8DD7 )
  34. GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT = constant.Constant( 'GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT', 0x8DD8 )
  35. glGetUniformuivEXT = platform.createExtensionFunction(
  36. 'glGetUniformuivEXT',dll=platform.GL,
  37. extension=EXTENSION_NAME,
  38. resultType=None,
  39. argTypes=(constants.GLuint,constants.GLint,arrays.GLuintArray,),
  40. doc='glGetUniformuivEXT(GLuint(program), GLint(location), GLuintArray(params)) -> None',
  41. argNames=('program','location','params',),
  42. deprecated=_DEPRECATED,
  43. )
  44. glBindFragDataLocationEXT = platform.createExtensionFunction(
  45. 'glBindFragDataLocationEXT',dll=platform.GL,
  46. extension=EXTENSION_NAME,
  47. resultType=None,
  48. argTypes=(constants.GLuint,constants.GLuint,arrays.GLcharArray,),
  49. doc='glBindFragDataLocationEXT(GLuint(program), GLuint(color), GLcharArray(name)) -> None',
  50. argNames=('program','color','name',),
  51. deprecated=_DEPRECATED,
  52. )
  53. glGetFragDataLocationEXT = platform.createExtensionFunction(
  54. 'glGetFragDataLocationEXT',dll=platform.GL,
  55. extension=EXTENSION_NAME,
  56. resultType=constants.GLint,
  57. argTypes=(constants.GLuint,arrays.GLcharArray,),
  58. doc='glGetFragDataLocationEXT(GLuint(program), GLcharArray(name)) -> constants.GLint',
  59. argNames=('program','name',),
  60. deprecated=_DEPRECATED,
  61. )
  62. glUniform1uiEXT = platform.createExtensionFunction(
  63. 'glUniform1uiEXT',dll=platform.GL,
  64. extension=EXTENSION_NAME,
  65. resultType=None,
  66. argTypes=(constants.GLint,constants.GLuint,),
  67. doc='glUniform1uiEXT(GLint(location), GLuint(v0)) -> None',
  68. argNames=('location','v0',),
  69. deprecated=_DEPRECATED,
  70. )
  71. glUniform2uiEXT = platform.createExtensionFunction(
  72. 'glUniform2uiEXT',dll=platform.GL,
  73. extension=EXTENSION_NAME,
  74. resultType=None,
  75. argTypes=(constants.GLint,constants.GLuint,constants.GLuint,),
  76. doc='glUniform2uiEXT(GLint(location), GLuint(v0), GLuint(v1)) -> None',
  77. argNames=('location','v0','v1',),
  78. deprecated=_DEPRECATED,
  79. )
  80. glUniform3uiEXT = platform.createExtensionFunction(
  81. 'glUniform3uiEXT',dll=platform.GL,
  82. extension=EXTENSION_NAME,
  83. resultType=None,
  84. argTypes=(constants.GLint,constants.GLuint,constants.GLuint,constants.GLuint,),
  85. doc='glUniform3uiEXT(GLint(location), GLuint(v0), GLuint(v1), GLuint(v2)) -> None',
  86. argNames=('location','v0','v1','v2',),
  87. deprecated=_DEPRECATED,
  88. )
  89. glUniform4uiEXT = platform.createExtensionFunction(
  90. 'glUniform4uiEXT',dll=platform.GL,
  91. extension=EXTENSION_NAME,
  92. resultType=None,
  93. argTypes=(constants.GLint,constants.GLuint,constants.GLuint,constants.GLuint,constants.GLuint,),
  94. doc='glUniform4uiEXT(GLint(location), GLuint(v0), GLuint(v1), GLuint(v2), GLuint(v3)) -> None',
  95. argNames=('location','v0','v1','v2','v3',),
  96. deprecated=_DEPRECATED,
  97. )
  98. glUniform1uivEXT = platform.createExtensionFunction(
  99. 'glUniform1uivEXT',dll=platform.GL,
  100. extension=EXTENSION_NAME,
  101. resultType=None,
  102. argTypes=(constants.GLint,constants.GLsizei,arrays.GLuintArray,),
  103. doc='glUniform1uivEXT(GLint(location), GLsizei(count), GLuintArray(value)) -> None',
  104. argNames=('location','count','value',),
  105. deprecated=_DEPRECATED,
  106. )
  107. glUniform2uivEXT = platform.createExtensionFunction(
  108. 'glUniform2uivEXT',dll=platform.GL,
  109. extension=EXTENSION_NAME,
  110. resultType=None,
  111. argTypes=(constants.GLint,constants.GLsizei,arrays.GLuintArray,),
  112. doc='glUniform2uivEXT(GLint(location), GLsizei(count), GLuintArray(value)) -> None',
  113. argNames=('location','count','value',),
  114. deprecated=_DEPRECATED,
  115. )
  116. glUniform3uivEXT = platform.createExtensionFunction(
  117. 'glUniform3uivEXT',dll=platform.GL,
  118. extension=EXTENSION_NAME,
  119. resultType=None,
  120. argTypes=(constants.GLint,constants.GLsizei,arrays.GLuintArray,),
  121. doc='glUniform3uivEXT(GLint(location), GLsizei(count), GLuintArray(value)) -> None',
  122. argNames=('location','count','value',),
  123. deprecated=_DEPRECATED,
  124. )
  125. glUniform4uivEXT = platform.createExtensionFunction(
  126. 'glUniform4uivEXT',dll=platform.GL,
  127. extension=EXTENSION_NAME,
  128. resultType=None,
  129. argTypes=(constants.GLint,constants.GLsizei,arrays.GLuintArray,),
  130. doc='glUniform4uivEXT(GLint(location), GLsizei(count), GLuintArray(value)) -> None',
  131. argNames=('location','count','value',),
  132. deprecated=_DEPRECATED,
  133. )
  134. def glInitGpuShader4EXT():
  135. '''Return boolean indicating whether this extension is available'''
  136. return extensions.hasGLExtension( EXTENSION_NAME )