opengl3 0.0.1.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. data/.gitignore +21 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +87 -0
  5. data/Rakefile +17 -0
  6. data/examples/math3d.rb +65 -0
  7. data/examples/ogl-2_1-basic.rb +107 -0
  8. data/examples/ogl-3_2-basic.rb +128 -0
  9. data/examples/ogl-3_2-cube.rb +203 -0
  10. data/examples/ogl-4_0-quad_tessellation.rb +283 -0
  11. data/examples/ogl-4_0-triangle_tessellation.rb +262 -0
  12. data/lib/glut.rb +125 -0
  13. data/lib/opengl.rb +7 -0
  14. data/lib/opengl/constants.rb +15 -0
  15. data/lib/opengl/constants/core/2_x/GL_VERSION_1_1.yml +230 -0
  16. data/lib/opengl/constants/core/2_x/GL_VERSION_1_2.yml +36 -0
  17. data/lib/opengl/constants/core/2_x/GL_VERSION_1_3.yml +59 -0
  18. data/lib/opengl/constants/core/2_x/GL_VERSION_1_4.yml +16 -0
  19. data/lib/opengl/constants/core/2_x/GL_VERSION_1_5.yml +28 -0
  20. data/lib/opengl/constants/core/2_x/GL_VERSION_2_0.yml +80 -0
  21. data/lib/opengl/constants/core/2_x/GL_VERSION_2_1.yml +16 -0
  22. data/lib/opengl/constants/core/3_0/GL_ARB_depth_buffer_float.yml +3 -0
  23. data/lib/opengl/constants/core/3_0/GL_ARB_framebuffer_object.yml +77 -0
  24. data/lib/opengl/constants/core/3_0/GL_ARB_framebuffer_sRGB.yml +1 -0
  25. data/lib/opengl/constants/core/3_0/GL_ARB_half_float_vertex.yml +1 -0
  26. data/lib/opengl/constants/core/3_0/GL_ARB_map_buffer_range.yml +6 -0
  27. data/lib/opengl/constants/core/3_0/GL_ARB_texture_compression_rgtc.yml +4 -0
  28. data/lib/opengl/constants/core/3_0/GL_ARB_texture_rg.yml +22 -0
  29. data/lib/opengl/constants/core/3_0/GL_ARB_vertex_array_object.yml +1 -0
  30. data/lib/opengl/constants/core/3_0/GL_VERSION_3_0.yml +224 -0
  31. data/lib/opengl/constants/core/3_1/GL_ARB_copy_buffer.yml +4 -0
  32. data/lib/opengl/constants/core/3_1/GL_ARB_uniform_buffer_object.yml +33 -0
  33. data/lib/opengl/constants/core/3_1/GL_VERSION_3_1.yml +65 -0
  34. data/lib/opengl/constants/core/3_2/GL_ARB_depth_clamp.yml +1 -0
  35. data/lib/opengl/constants/core/3_2/GL_ARB_provoking_vertex.yml +4 -0
  36. data/lib/opengl/constants/core/3_2/GL_ARB_seamless_cube_map.yml +1 -0
  37. data/lib/opengl/constants/core/3_2/GL_ARB_sync.yml +15 -0
  38. data/lib/opengl/constants/core/3_2/GL_ARB_texture_multisample.yml +21 -0
  39. data/lib/opengl/constants/core/3_2/GL_VERSION_3_2.yml +76 -0
  40. data/lib/opengl/constants/core/3_3/GL_ARB_blend_func_extended.yml +5 -0
  41. data/lib/opengl/constants/core/3_3/GL_ARB_occlusion_query2.yml +1 -0
  42. data/lib/opengl/constants/core/3_3/GL_ARB_sampler_objects.yml +1 -0
  43. data/lib/opengl/constants/core/3_3/GL_ARB_texture_rgb10_a2ui.yml +1 -0
  44. data/lib/opengl/constants/core/3_3/GL_ARB_texture_swizzle.yml +5 -0
  45. data/lib/opengl/constants/core/3_3/GL_ARB_timer_query.yml +2 -0
  46. data/lib/opengl/constants/core/3_3/GL_ARB_vertex_type_2_10_10_10_rev.yml +2 -0
  47. data/lib/opengl/constants/core/3_3/GL_VERSION_3_3.yml +25 -0
  48. data/lib/opengl/constants/core/4_0/GL_ARB_draw_indirect.yml +2 -0
  49. data/lib/opengl/constants/core/4_0/GL_ARB_gpu_shader5.yml +6 -0
  50. data/lib/opengl/constants/core/4_0/GL_ARB_gpu_shader_fp64.yml +13 -0
  51. data/lib/opengl/constants/core/4_0/GL_ARB_shader_subroutine.yml +11 -0
  52. data/lib/opengl/constants/core/4_0/GL_ARB_tessellation_shader.yml +37 -0
  53. data/lib/opengl/constants/core/4_0/GL_ARB_transform_feedback2.yml +6 -0
  54. data/lib/opengl/constants/core/4_0/GL_ARB_transform_feedback3.yml +2 -0
  55. data/lib/opengl/constants/core/4_0/GL_VERSION_4_0.yml +88 -0
  56. data/lib/opengl/constants/core/4_1/GL_ARB_ES2_compatibility.yml +16 -0
  57. data/lib/opengl/constants/core/4_1/GL_ARB_get_program_binary.yml +4 -0
  58. data/lib/opengl/constants/core/4_1/GL_ARB_separate_shader_objects.yml +9 -0
  59. data/lib/opengl/constants/core/4_1/GL_ARB_viewport_array.yml +13 -0
  60. data/lib/opengl/constants/core/4_1/GL_VERSION_4_1.yml +44 -0
  61. data/lib/opengl/constants/core/4_2/GL_ARB_compressed_texture_pixel_storage.yml +8 -0
  62. data/lib/opengl/constants/core/4_2/GL_ARB_internalformat_query.yml +1 -0
  63. data/lib/opengl/constants/core/4_2/GL_ARB_map_buffer_alignment.yml +1 -0
  64. data/lib/opengl/constants/core/4_2/GL_ARB_shader_atomic_counters.yml +29 -0
  65. data/lib/opengl/constants/core/4_2/GL_ARB_shader_image_load_store.yml +64 -0
  66. data/lib/opengl/constants/core/4_2/GL_ARB_texture_storage.yml +1 -0
  67. data/lib/opengl/constants/core/4_2/GL_VERSION_4_2.yml +116 -0
  68. data/lib/opengl/constants/core/4_3/GL_ARB_ES3_compatibility.yml +13 -0
  69. data/lib/opengl/constants/core/4_3/GL_ARB_compute_shader.yml +18 -0
  70. data/lib/opengl/constants/core/4_3/GL_ARB_explicit_uniform_location.yml +1 -0
  71. data/lib/opengl/constants/core/4_3/GL_ARB_framebuffer_no_attachments.yml +9 -0
  72. data/lib/opengl/constants/core/4_3/GL_ARB_internalformat_query2.yml +115 -0
  73. data/lib/opengl/constants/core/4_3/GL_ARB_program_interface_query.yml +50 -0
  74. data/lib/opengl/constants/core/4_3/GL_ARB_shader_storage_buffer_object.yml +18 -0
  75. data/lib/opengl/constants/core/4_3/GL_ARB_stencil_texturing.yml +1 -0
  76. data/lib/opengl/constants/core/4_3/GL_ARB_texture_buffer_range.yml +3 -0
  77. data/lib/opengl/constants/core/4_3/GL_ARB_texture_view.yml +5 -0
  78. data/lib/opengl/constants/core/4_3/GL_ARB_vertex_attrib_binding.yml +7 -0
  79. data/lib/opengl/constants/core/4_3/GL_KHR_debug.yml +41 -0
  80. data/lib/opengl/constants/core/4_3/GL_VERSION_4_3.yml +281 -0
  81. data/lib/opengl/constants/ext/GL_EXT_texture_compression_s3tc.yml +4 -0
  82. data/lib/opengl/constants/ext/GL_EXT_texture_filter_anisotropic.yml +2 -0
  83. data/lib/opengl/constants/ext/GL_EXT_texture_sRGB.yml +16 -0
  84. data/lib/opengl/debugging.rb +38 -0
  85. data/lib/opengl/gl.rb +26 -0
  86. data/lib/opengl/platform.rb +4 -0
  87. data/lib/opengl/platform/base.rb +30 -0
  88. data/lib/opengl/platform/darwin.rb +24 -0
  89. data/lib/opengl/platform/linux.rb +25 -0
  90. data/lib/opengl/platform/types/darwin.yml +2 -0
  91. data/lib/opengl/platform/types/default.yml +27 -0
  92. data/lib/opengl/platform/types/linux.yml +2 -0
  93. data/lib/opengl/raw.rb +44 -0
  94. data/lib/opengl/raw/core/2_x/GL_VERSION_1_0.yml +259 -0
  95. data/lib/opengl/raw/core/2_x/GL_VERSION_1_1.yml +106 -0
  96. data/lib/opengl/raw/core/2_x/GL_VERSION_1_2.yml +60 -0
  97. data/lib/opengl/raw/core/2_x/GL_VERSION_1_3.yml +85 -0
  98. data/lib/opengl/raw/core/2_x/GL_VERSION_1_4.yml +43 -0
  99. data/lib/opengl/raw/core/2_x/GL_VERSION_1_5.yml +103 -0
  100. data/lib/opengl/raw/core/2_x/GL_VERSION_2_0.yml +537 -0
  101. data/lib/opengl/raw/core/2_x/GL_VERSION_2_1.yml +43 -0
  102. data/lib/opengl/raw/core/3_0/GL_ARB_framebuffer_object.yml +128 -0
  103. data/lib/opengl/raw/core/3_0/GL_ARB_map_buffer_range.yml +14 -0
  104. data/lib/opengl/raw/core/3_0/GL_ARB_vertex_array_object.yml +19 -0
  105. data/lib/opengl/raw/core/3_0/GL_VERSION_3_0.yml +340 -0
  106. data/lib/opengl/raw/core/3_1/GL_ARB_copy_buffer.yml +9 -0
  107. data/lib/opengl/raw/core/3_1/GL_ARB_uniform_buffer_object.yml +50 -0
  108. data/lib/opengl/raw/core/3_1/GL_VERSION_3_1.yml +26 -0
  109. data/lib/opengl/raw/core/3_2/GL_ARB_draw_elements_base_vertex.yml +37 -0
  110. data/lib/opengl/raw/core/3_2/GL_ARB_provoking_vertex.yml +5 -0
  111. data/lib/opengl/raw/core/3_2/GL_ARB_sync.yml +39 -0
  112. data/lib/opengl/raw/core/3_2/GL_ARB_texture_multisample.yml +31 -0
  113. data/lib/opengl/raw/core/3_2/GL_VERSION_3_2.yml +20 -0
  114. data/lib/opengl/raw/core/3_3/GL_ARB_blend_func_extended.yml +13 -0
  115. data/lib/opengl/raw/core/3_3/GL_ARB_sampler_objects.yml +80 -0
  116. data/lib/opengl/raw/core/3_3/GL_ARB_timer_query.yml +18 -0
  117. data/lib/opengl/raw/core/3_3/GL_ARB_vertex_type_2_10_10_10_rev.yml +57 -0
  118. data/lib/opengl/raw/core/3_3/GL_VERSION_3_3.yml +6 -0
  119. data/lib/opengl/raw/core/4_0/GL_ARB_draw_indirect.yml +12 -0
  120. data/lib/opengl/raw/core/4_0/GL_ARB_gpu_shader_fp64.yml +120 -0
  121. data/lib/opengl/raw/core/4_0/GL_ARB_shader_subroutine.yml +58 -0
  122. data/lib/opengl/raw/core/4_0/GL_ARB_tessellation_shader.yml +11 -0
  123. data/lib/opengl/raw/core/4_0/GL_ARB_transform_feedback2.yml +31 -0
  124. data/lib/opengl/raw/core/4_0/GL_ARB_transform_feedback3.yml +25 -0
  125. data/lib/opengl/raw/core/4_0/GL_VERSION_4_0.yml +30 -0
  126. data/lib/opengl/raw/core/4_1/GL_ARB_ES2_compatibility.yml +28 -0
  127. data/lib/opengl/raw/core/4_1/GL_ARB_get_program_binary.yml +22 -0
  128. data/lib/opengl/raw/core/4_1/GL_ARB_separate_shader_objects.yml +429 -0
  129. data/lib/opengl/raw/core/4_1/GL_ARB_vertex_attrib_64bit.yml +61 -0
  130. data/lib/opengl/raw/core/4_1/GL_ARB_viewport_array.yml +63 -0
  131. data/lib/opengl/raw/core/4_1/GL_VERSION_4_1.yml +1 -0
  132. data/lib/opengl/raw/core/4_2/GL_ARB_base_instance.yml +28 -0
  133. data/lib/opengl/raw/core/4_2/GL_ARB_internalformat_query.yml +9 -0
  134. data/lib/opengl/raw/core/4_2/GL_ARB_shader_atomic_counters.yml +8 -0
  135. data/lib/opengl/raw/core/4_2/GL_ARB_shader_image_load_store.yml +15 -0
  136. data/lib/opengl/raw/core/4_2/GL_ARB_texture_storage.yml +52 -0
  137. data/lib/opengl/raw/core/4_2/GL_ARB_transform_feedback_instanced.yml +14 -0
  138. data/lib/opengl/raw/core/4_2/GL_VERSION_4_2.yml +1 -0
  139. data/lib/opengl/type.rb +74 -0
  140. data/lib/opengl/version.rb +3 -0
  141. data/lib/opengl/wrapper.rb +13 -0
  142. data/lib/opengl/wrapper/core/2_x/GL_VERSION_1_0.rb +165 -0
  143. data/lib/opengl/wrapper/core/2_x/GL_VERSION_1_1.rb +29 -0
  144. data/lib/opengl/wrapper/core/2_x/GL_VERSION_1_2.rb +13 -0
  145. data/lib/opengl/wrapper/core/2_x/GL_VERSION_1_3.rb +16 -0
  146. data/lib/opengl/wrapper/core/2_x/GL_VERSION_1_4.rb +18 -0
  147. data/lib/opengl/wrapper/core/2_x/GL_VERSION_1_5.rb +49 -0
  148. data/lib/opengl/wrapper/core/2_x/GL_VERSION_2_0.rb +184 -0
  149. data/lib/opengl/wrapper/core/2_x/GL_VERSION_2_1.rb +13 -0
  150. data/lib/opengl/wrapper/core/3_0/GL_ARB_framebuffer_object.rb +43 -0
  151. data/lib/opengl/wrapper/core/3_0/GL_ARB_map_buffer_range.rb +11 -0
  152. data/lib/opengl/wrapper/core/3_0/GL_ARB_vertex_array_object.rb +16 -0
  153. data/lib/opengl/wrapper/core/3_0/GL_VERSION_3_0.rb +87 -0
  154. data/lib/opengl/wrapper/macros/base.rb +80 -0
  155. data/opengl.gemspec +25 -0
  156. data/spec/spec_helper.rb +8 -0
  157. data/test/test_helper.rb +8 -0
  158. metadata +269 -0
@@ -0,0 +1,106 @@
1
+ ---
2
+ glDrawArrays:
3
+ return_type: void
4
+ parameters:
5
+ - GLenum mode
6
+ - GLint first
7
+ - GLsizei count
8
+ glDrawElements:
9
+ return_type: void
10
+ parameters:
11
+ - GLenum mode
12
+ - GLsizei count
13
+ - GLenum type
14
+ - buffer_in indices
15
+ glGetPointerv:
16
+ return_type: void
17
+ parameters:
18
+ - GLenum pname
19
+ - pointer_out params
20
+ glPolygonOffset:
21
+ return_type: void
22
+ parameters:
23
+ - GLfloat factor
24
+ - GLfloat units
25
+ glCopyTexImage1D:
26
+ return_type: void
27
+ parameters:
28
+ - GLenum target
29
+ - GLint level
30
+ - GLenum internalformat
31
+ - GLint x
32
+ - GLint y
33
+ - GLsizei width
34
+ - GLint border
35
+ glCopyTexImage2D:
36
+ return_type: void
37
+ parameters:
38
+ - GLenum target
39
+ - GLint level
40
+ - GLenum internalformat
41
+ - GLint x
42
+ - GLint y
43
+ - GLsizei width
44
+ - GLsizei height
45
+ - GLint border
46
+ glCopyTexSubImage1D:
47
+ return_type: void
48
+ parameters:
49
+ - GLenum target
50
+ - GLint level
51
+ - GLint xoffset
52
+ - GLint x
53
+ - GLint y
54
+ - GLsizei width
55
+ glCopyTexSubImage2D:
56
+ return_type: void
57
+ parameters:
58
+ - GLenum target
59
+ - GLint level
60
+ - GLint xoffset
61
+ - GLint yoffset
62
+ - GLint x
63
+ - GLint y
64
+ - GLsizei width
65
+ - GLsizei height
66
+ glTexSubImage1D:
67
+ return_type: void
68
+ parameters:
69
+ - GLenum target
70
+ - GLint level
71
+ - GLint xoffset
72
+ - GLsizei width
73
+ - GLenum format
74
+ - GLenum type
75
+ - buffer_in pixels
76
+ glTexSubImage2D:
77
+ return_type: void
78
+ parameters:
79
+ - GLenum target
80
+ - GLint level
81
+ - GLint xoffset
82
+ - GLint yoffset
83
+ - GLsizei width
84
+ - GLsizei height
85
+ - GLenum format
86
+ - GLenum type
87
+ - buffer_in pixels
88
+ glBindTexture:
89
+ return_type: void
90
+ parameters:
91
+ - GLenum target
92
+ - GLuint texture
93
+ glDeleteTextures:
94
+ return_type: void
95
+ parameters:
96
+ - GLsizei n
97
+ - GLuint_in textures
98
+ glGenTextures:
99
+ return_type: void
100
+ parameters:
101
+ - GLsizei n
102
+ - GLuint_out textures
103
+ glIsTexture:
104
+ return_type: GLboolean
105
+ parameters:
106
+ - GLuint texture
@@ -0,0 +1,60 @@
1
+ ---
2
+ glBlendColor:
3
+ return_type: void
4
+ parameters:
5
+ - GLfloat red
6
+ - GLfloat green
7
+ - GLfloat blue
8
+ - GLfloat alpha
9
+ glBlendEquation:
10
+ return_type: void
11
+ parameters:
12
+ - GLenum mode
13
+ glDrawRangeElements:
14
+ return_type: void
15
+ parameters:
16
+ - GLenum mode
17
+ - GLuint start
18
+ - GLuint end
19
+ - GLsizei count
20
+ - GLenum type
21
+ - buffer_in indices
22
+ glTexImage3D:
23
+ return_type: void
24
+ parameters:
25
+ - GLenum target
26
+ - GLint level
27
+ - GLint internalformat
28
+ - GLsizei width
29
+ - GLsizei height
30
+ - GLsizei depth
31
+ - GLint border
32
+ - GLenum format
33
+ - GLenum type
34
+ - buffer_in pixels
35
+ glTexSubImage3D:
36
+ return_type: void
37
+ parameters:
38
+ - GLenum target
39
+ - GLint level
40
+ - GLint xoffset
41
+ - GLint yoffset
42
+ - GLint zoffset
43
+ - GLsizei width
44
+ - GLsizei height
45
+ - GLsizei depth
46
+ - GLenum format
47
+ - GLenum type
48
+ - buffer_in pixels
49
+ glCopyTexSubImage3D:
50
+ return_type: void
51
+ parameters:
52
+ - GLenum target
53
+ - GLint level
54
+ - GLint xoffset
55
+ - GLint yoffset
56
+ - GLint zoffset
57
+ - GLint x
58
+ - GLint y
59
+ - GLsizei width
60
+ - GLsizei height
@@ -0,0 +1,85 @@
1
+ ---
2
+ glActiveTexture:
3
+ return_type: void
4
+ parameters:
5
+ - GLenum texture
6
+ glSampleCoverage:
7
+ return_type: void
8
+ parameters:
9
+ - GLfloat value
10
+ - GLboolean invert
11
+ glCompressedTexImage3D:
12
+ return_type: void
13
+ parameters:
14
+ - GLenum target
15
+ - GLint level
16
+ - GLenum internalformat
17
+ - GLsizei width
18
+ - GLsizei height
19
+ - GLsizei depth
20
+ - GLint border
21
+ - GLsizei imageSize
22
+ - buffer_in data
23
+ glCompressedTexImage2D:
24
+ return_type: void
25
+ parameters:
26
+ - GLenum target
27
+ - GLint level
28
+ - GLenum internalformat
29
+ - GLsizei width
30
+ - GLsizei height
31
+ - GLint border
32
+ - GLsizei imageSize
33
+ - buffer_in data
34
+ glCompressedTexImage1D:
35
+ return_type: void
36
+ parameters:
37
+ - GLenum target
38
+ - GLint level
39
+ - GLenum internalformat
40
+ - GLsizei width
41
+ - GLint border
42
+ - GLsizei imageSize
43
+ - buffer_in data
44
+ glCompressedTexSubImage3D:
45
+ return_type: void
46
+ parameters:
47
+ - GLenum target
48
+ - GLint level
49
+ - GLint xoffset
50
+ - GLint yoffset
51
+ - GLint zoffset
52
+ - GLsizei width
53
+ - GLsizei height
54
+ - GLsizei depth
55
+ - GLenum format
56
+ - GLsizei imageSize
57
+ - buffer_in data
58
+ glCompressedTexSubImage2D:
59
+ return_type: void
60
+ parameters:
61
+ - GLenum target
62
+ - GLint level
63
+ - GLint xoffset
64
+ - GLint yoffset
65
+ - GLsizei width
66
+ - GLsizei height
67
+ - GLenum format
68
+ - GLsizei imageSize
69
+ - buffer_in data
70
+ glCompressedTexSubImage1D:
71
+ return_type: void
72
+ parameters:
73
+ - GLenum target
74
+ - GLint level
75
+ - GLint xoffset
76
+ - GLsizei width
77
+ - GLenum format
78
+ - GLsizei imageSize
79
+ - buffer_in data
80
+ glGetCompressedTexImage:
81
+ return_type: void
82
+ parameters:
83
+ - GLenum target
84
+ - GLint level
85
+ - buffer_out img
@@ -0,0 +1,43 @@
1
+ ---
2
+ glBlendFuncSeparate:
3
+ return_type: void
4
+ parameters:
5
+ - GLenum sfactorRGB
6
+ - GLenum dfactorRGB
7
+ - GLenum sfactorAlpha
8
+ - GLenum dfactorAlpha
9
+ glMultiDrawArrays:
10
+ return_type: void
11
+ parameters:
12
+ - GLenum mode
13
+ - GLint_in first
14
+ - GLsizei_in count
15
+ - GLsizei drawcount
16
+ glMultiDrawElements:
17
+ return_type: void
18
+ parameters:
19
+ - GLenum mode
20
+ - GLsizei_in count
21
+ - GLenum type
22
+ - pointer_in indices
23
+ - GLsizei drawcount
24
+ glPointParameterf:
25
+ return_type: void
26
+ parameters:
27
+ - GLenum pname
28
+ - GLfloat param
29
+ glPointParameterfv:
30
+ return_type: void
31
+ parameters:
32
+ - GLenum pname
33
+ - GLfloat_in params
34
+ glPointParameteri:
35
+ return_type: void
36
+ parameters:
37
+ - GLenum pname
38
+ - GLint param
39
+ glPointParameteriv:
40
+ return_type: void
41
+ parameters:
42
+ - GLenum pname
43
+ - GLint_in params
@@ -0,0 +1,103 @@
1
+ ---
2
+ glGenQueries:
3
+ return_type: void
4
+ parameters:
5
+ - GLsizei n
6
+ - GLuint_out ids
7
+ glDeleteQueries:
8
+ return_type: void
9
+ parameters:
10
+ - GLsizei n
11
+ - GLuint_in ids
12
+ glIsQuery:
13
+ return_type: GLboolean
14
+ parameters:
15
+ - GLuint id
16
+ glBeginQuery:
17
+ return_type: void
18
+ parameters:
19
+ - GLenum target
20
+ - GLuint id
21
+ glEndQuery:
22
+ return_type: void
23
+ parameters:
24
+ - GLenum target
25
+ glGetQueryiv:
26
+ return_type: void
27
+ parameters:
28
+ - GLenum target
29
+ - GLenum pname
30
+ - GLint_out params
31
+ glGetQueryObjectiv:
32
+ return_type: void
33
+ parameters:
34
+ - GLuint id
35
+ - GLenum pname
36
+ - GLint_out params
37
+ glGetQueryObjectuiv:
38
+ return_type: void
39
+ parameters:
40
+ - GLuint id
41
+ - GLenum pname
42
+ - GLuint_out params
43
+ glBindBuffer:
44
+ return_type: void
45
+ parameters:
46
+ - GLenum target
47
+ - GLuint buffer
48
+ glDeleteBuffers:
49
+ return_type: void
50
+ parameters:
51
+ - GLsizei n
52
+ - GLuint_in buffers
53
+ glGenBuffers:
54
+ return_type: void
55
+ parameters:
56
+ - GLsizei n
57
+ - GLuint_out buffers
58
+ glIsBuffer:
59
+ return_type: GLboolean
60
+ parameters:
61
+ - GLuint buffer
62
+ glBufferData:
63
+ return_type: void
64
+ parameters:
65
+ - GLenum target
66
+ - GLsizeiptr size
67
+ - buffer_in data
68
+ - GLenum usage
69
+ glBufferSubData:
70
+ return_type: void
71
+ parameters:
72
+ - GLenum target
73
+ - GLintptr offset
74
+ - GLsizeiptr size
75
+ - buffer_in data
76
+ glGetBufferSubData:
77
+ return_type: void
78
+ parameters:
79
+ - GLenum target
80
+ - GLintptr offset
81
+ - GLsizeiptr size
82
+ - buffer_out data
83
+ glMapBuffer:
84
+ return_type: pointer
85
+ parameters:
86
+ - GLenum target
87
+ - GLenum access
88
+ glUnmapBuffer:
89
+ return_type: GLboolean
90
+ parameters:
91
+ - GLenum target
92
+ glGetBufferParameteriv:
93
+ return_type: void
94
+ parameters:
95
+ - GLenum target
96
+ - GLenum pname
97
+ - GLint_out params
98
+ glGetBufferPointerv:
99
+ return_type: void
100
+ parameters:
101
+ - GLenum target
102
+ - GLenum pname
103
+ - pointer_out params
@@ -0,0 +1,537 @@
1
+ ---
2
+ glBlendEquationSeparate:
3
+ return_type: void
4
+ parameters:
5
+ - GLenum modeRGB
6
+ - GLenum modeAlpha
7
+ glDrawBuffers:
8
+ return_type: void
9
+ parameters:
10
+ - GLsizei n
11
+ - GLenum_in bufs
12
+ glStencilOpSeparate:
13
+ return_type: void
14
+ parameters:
15
+ - GLenum face
16
+ - GLenum sfail
17
+ - GLenum dpfail
18
+ - GLenum dppass
19
+ glStencilFuncSeparate:
20
+ return_type: void
21
+ parameters:
22
+ - GLenum face
23
+ - GLenum func
24
+ - GLint ref
25
+ - GLuint mask
26
+ glStencilMaskSeparate:
27
+ return_type: void
28
+ parameters:
29
+ - GLenum face
30
+ - GLuint mask
31
+ glAttachShader:
32
+ return_type: void
33
+ parameters:
34
+ - GLuint program
35
+ - GLuint shader
36
+ glBindAttribLocation:
37
+ return_type: void
38
+ parameters:
39
+ - GLuint program
40
+ - GLuint index
41
+ - string name
42
+ glCompileShader:
43
+ return_type: void
44
+ parameters:
45
+ - GLuint shader
46
+ glCreateProgram:
47
+ return_type: GLuint
48
+ parameters: []
49
+ glCreateShader:
50
+ return_type: GLuint
51
+ parameters:
52
+ - GLenum type
53
+ glDeleteProgram:
54
+ return_type: void
55
+ parameters:
56
+ - GLuint program
57
+ glDeleteShader:
58
+ return_type: void
59
+ parameters:
60
+ - GLuint shader
61
+ glDetachShader:
62
+ return_type: void
63
+ parameters:
64
+ - GLuint program
65
+ - GLuint shader
66
+ glDisableVertexAttribArray:
67
+ return_type: void
68
+ parameters:
69
+ - GLuint index
70
+ glEnableVertexAttribArray:
71
+ return_type: void
72
+ parameters:
73
+ - GLuint index
74
+ glGetActiveAttrib:
75
+ return_type: void
76
+ parameters:
77
+ - GLuint program
78
+ - GLuint index
79
+ - GLsizei bufSize
80
+ - GLsizei_out length
81
+ - GLint_out size
82
+ - GLenum_out type
83
+ - GLchar_out name
84
+ glGetActiveUniform:
85
+ return_type: void
86
+ parameters:
87
+ - GLuint program
88
+ - GLuint index
89
+ - GLsizei bufSize
90
+ - GLsizei_out length
91
+ - GLint_out size
92
+ - GLenum_out type
93
+ - GLchar_out name
94
+ glGetAttachedShaders:
95
+ return_type: void
96
+ parameters:
97
+ - GLuint program
98
+ - GLsizei maxCount
99
+ - GLsizei_out count
100
+ - GLuint_out obj
101
+ glGetAttribLocation:
102
+ return_type: GLint
103
+ parameters:
104
+ - GLuint program
105
+ - string name
106
+ glGetProgramiv:
107
+ return_type: void
108
+ parameters:
109
+ - GLuint program
110
+ - GLenum pname
111
+ - GLint_out params
112
+ glGetProgramInfoLog:
113
+ return_type: void
114
+ parameters:
115
+ - GLuint program
116
+ - GLsizei bufSize
117
+ - GLsizei_out length
118
+ - GLchar_out infoLog
119
+ glGetShaderiv:
120
+ return_type: void
121
+ parameters:
122
+ - GLuint shader
123
+ - GLenum pname
124
+ - GLint_out params
125
+ glGetShaderInfoLog:
126
+ return_type: void
127
+ parameters:
128
+ - GLuint shader
129
+ - GLsizei bufSize
130
+ - GLsizei_out length
131
+ - GLchar_out infoLog
132
+ glGetShaderSource:
133
+ return_type: void
134
+ parameters:
135
+ - GLuint shader
136
+ - GLsizei bufSize
137
+ - GLsizei_out length
138
+ - GLchar_out source
139
+ glGetUniformLocation:
140
+ return_type: GLint
141
+ parameters:
142
+ - GLuint program
143
+ - string name
144
+ glGetUniformfv:
145
+ return_type: void
146
+ parameters:
147
+ - GLuint program
148
+ - GLint location
149
+ - GLfloat_out params
150
+ glGetUniformiv:
151
+ return_type: void
152
+ parameters:
153
+ - GLuint program
154
+ - GLint location
155
+ - GLint_out params
156
+ glGetVertexAttribdv:
157
+ return_type: void
158
+ parameters:
159
+ - GLuint index
160
+ - GLenum pname
161
+ - GLdouble_out params
162
+ glGetVertexAttribfv:
163
+ return_type: void
164
+ parameters:
165
+ - GLuint index
166
+ - GLenum pname
167
+ - GLfloat_out params
168
+ glGetVertexAttribiv:
169
+ return_type: void
170
+ parameters:
171
+ - GLuint index
172
+ - GLenum pname
173
+ - GLint_out params
174
+ glGetVertexAttribPointerv:
175
+ return_type: void
176
+ parameters:
177
+ - GLuint index
178
+ - GLenum pname
179
+ - pointer_out pointer
180
+ glIsProgram:
181
+ return_type: GLboolean
182
+ parameters:
183
+ - GLuint program
184
+ glIsShader:
185
+ return_type: GLboolean
186
+ parameters:
187
+ - GLuint shader
188
+ glLinkProgram:
189
+ return_type: void
190
+ parameters:
191
+ - GLuint program
192
+ glShaderSource:
193
+ return_type: void
194
+ parameters:
195
+ - GLuint shader
196
+ - GLsizei count
197
+ - GLchar_pointer_in string
198
+ - GLint_in length
199
+ glUseProgram:
200
+ return_type: void
201
+ parameters:
202
+ - GLuint program
203
+ glUniform1f:
204
+ return_type: void
205
+ parameters:
206
+ - GLint location
207
+ - GLfloat v0
208
+ glUniform2f:
209
+ return_type: void
210
+ parameters:
211
+ - GLint location
212
+ - GLfloat v0
213
+ - GLfloat v1
214
+ glUniform3f:
215
+ return_type: void
216
+ parameters:
217
+ - GLint location
218
+ - GLfloat v0
219
+ - GLfloat v1
220
+ - GLfloat v2
221
+ glUniform4f:
222
+ return_type: void
223
+ parameters:
224
+ - GLint location
225
+ - GLfloat v0
226
+ - GLfloat v1
227
+ - GLfloat v2
228
+ - GLfloat v3
229
+ glUniform1i:
230
+ return_type: void
231
+ parameters:
232
+ - GLint location
233
+ - GLint v0
234
+ glUniform2i:
235
+ return_type: void
236
+ parameters:
237
+ - GLint location
238
+ - GLint v0
239
+ - GLint v1
240
+ glUniform3i:
241
+ return_type: void
242
+ parameters:
243
+ - GLint location
244
+ - GLint v0
245
+ - GLint v1
246
+ - GLint v2
247
+ glUniform4i:
248
+ return_type: void
249
+ parameters:
250
+ - GLint location
251
+ - GLint v0
252
+ - GLint v1
253
+ - GLint v2
254
+ - GLint v3
255
+ glUniform1fv:
256
+ return_type: void
257
+ parameters:
258
+ - GLint location
259
+ - GLsizei count
260
+ - GLfloat_in value
261
+ glUniform2fv:
262
+ return_type: void
263
+ parameters:
264
+ - GLint location
265
+ - GLsizei count
266
+ - GLfloat_in value
267
+ glUniform3fv:
268
+ return_type: void
269
+ parameters:
270
+ - GLint location
271
+ - GLsizei count
272
+ - GLfloat_in value
273
+ glUniform4fv:
274
+ return_type: void
275
+ parameters:
276
+ - GLint location
277
+ - GLsizei count
278
+ - GLfloat_in value
279
+ glUniform1iv:
280
+ return_type: void
281
+ parameters:
282
+ - GLint location
283
+ - GLsizei count
284
+ - GLint_in value
285
+ glUniform2iv:
286
+ return_type: void
287
+ parameters:
288
+ - GLint location
289
+ - GLsizei count
290
+ - GLint_in value
291
+ glUniform3iv:
292
+ return_type: void
293
+ parameters:
294
+ - GLint location
295
+ - GLsizei count
296
+ - GLint_in value
297
+ glUniform4iv:
298
+ return_type: void
299
+ parameters:
300
+ - GLint location
301
+ - GLsizei count
302
+ - GLint_in value
303
+ glUniformMatrix2fv:
304
+ return_type: void
305
+ parameters:
306
+ - GLint location
307
+ - GLsizei count
308
+ - GLboolean transpose
309
+ - GLfloat_in value
310
+ glUniformMatrix3fv:
311
+ return_type: void
312
+ parameters:
313
+ - GLint location
314
+ - GLsizei count
315
+ - GLboolean transpose
316
+ - GLfloat_in value
317
+ glUniformMatrix4fv:
318
+ return_type: void
319
+ parameters:
320
+ - GLint location
321
+ - GLsizei count
322
+ - GLboolean transpose
323
+ - GLfloat_in value
324
+ glValidateProgram:
325
+ return_type: void
326
+ parameters:
327
+ - GLuint program
328
+ glVertexAttrib1d:
329
+ return_type: void
330
+ parameters:
331
+ - GLuint index
332
+ - GLdouble x
333
+ glVertexAttrib1dv:
334
+ return_type: void
335
+ parameters:
336
+ - GLuint index
337
+ - GLdouble_in v
338
+ glVertexAttrib1f:
339
+ return_type: void
340
+ parameters:
341
+ - GLuint index
342
+ - GLfloat x
343
+ glVertexAttrib1fv:
344
+ return_type: void
345
+ parameters:
346
+ - GLuint index
347
+ - GLfloat_in v
348
+ glVertexAttrib1s:
349
+ return_type: void
350
+ parameters:
351
+ - GLuint index
352
+ - GLshort x
353
+ glVertexAttrib1sv:
354
+ return_type: void
355
+ parameters:
356
+ - GLuint index
357
+ - GLshort_in v
358
+ glVertexAttrib2d:
359
+ return_type: void
360
+ parameters:
361
+ - GLuint index
362
+ - GLdouble x
363
+ - GLdouble y
364
+ glVertexAttrib2dv:
365
+ return_type: void
366
+ parameters:
367
+ - GLuint index
368
+ - GLdouble_in v
369
+ glVertexAttrib2f:
370
+ return_type: void
371
+ parameters:
372
+ - GLuint index
373
+ - GLfloat x
374
+ - GLfloat y
375
+ glVertexAttrib2fv:
376
+ return_type: void
377
+ parameters:
378
+ - GLuint index
379
+ - GLfloat_in v
380
+ glVertexAttrib2s:
381
+ return_type: void
382
+ parameters:
383
+ - GLuint index
384
+ - GLshort x
385
+ - GLshort y
386
+ glVertexAttrib2sv:
387
+ return_type: void
388
+ parameters:
389
+ - GLuint index
390
+ - GLshort_in v
391
+ glVertexAttrib3d:
392
+ return_type: void
393
+ parameters:
394
+ - GLuint index
395
+ - GLdouble x
396
+ - GLdouble y
397
+ - GLdouble z
398
+ glVertexAttrib3dv:
399
+ return_type: void
400
+ parameters:
401
+ - GLuint index
402
+ - GLdouble_in v
403
+ glVertexAttrib3f:
404
+ return_type: void
405
+ parameters:
406
+ - GLuint index
407
+ - GLfloat x
408
+ - GLfloat y
409
+ - GLfloat z
410
+ glVertexAttrib3fv:
411
+ return_type: void
412
+ parameters:
413
+ - GLuint index
414
+ - GLfloat_in v
415
+ glVertexAttrib3s:
416
+ return_type: void
417
+ parameters:
418
+ - GLuint index
419
+ - GLshort x
420
+ - GLshort y
421
+ - GLshort z
422
+ glVertexAttrib3sv:
423
+ return_type: void
424
+ parameters:
425
+ - GLuint index
426
+ - GLshort_in v
427
+ glVertexAttrib4Nbv:
428
+ return_type: void
429
+ parameters:
430
+ - GLuint index
431
+ - GLbyte_in v
432
+ glVertexAttrib4Niv:
433
+ return_type: void
434
+ parameters:
435
+ - GLuint index
436
+ - GLint_in v
437
+ glVertexAttrib4Nsv:
438
+ return_type: void
439
+ parameters:
440
+ - GLuint index
441
+ - GLshort_in v
442
+ glVertexAttrib4Nub:
443
+ return_type: void
444
+ parameters:
445
+ - GLuint index
446
+ - GLubyte x
447
+ - GLubyte y
448
+ - GLubyte z
449
+ - GLubyte w
450
+ glVertexAttrib4Nubv:
451
+ return_type: void
452
+ parameters:
453
+ - GLuint index
454
+ - GLubyte_in v
455
+ glVertexAttrib4Nuiv:
456
+ return_type: void
457
+ parameters:
458
+ - GLuint index
459
+ - GLuint_in v
460
+ glVertexAttrib4Nusv:
461
+ return_type: void
462
+ parameters:
463
+ - GLuint index
464
+ - GLushort_in v
465
+ glVertexAttrib4bv:
466
+ return_type: void
467
+ parameters:
468
+ - GLuint index
469
+ - GLbyte_in v
470
+ glVertexAttrib4d:
471
+ return_type: void
472
+ parameters:
473
+ - GLuint index
474
+ - GLdouble x
475
+ - GLdouble y
476
+ - GLdouble z
477
+ - GLdouble w
478
+ glVertexAttrib4dv:
479
+ return_type: void
480
+ parameters:
481
+ - GLuint index
482
+ - GLdouble_in v
483
+ glVertexAttrib4f:
484
+ return_type: void
485
+ parameters:
486
+ - GLuint index
487
+ - GLfloat x
488
+ - GLfloat y
489
+ - GLfloat z
490
+ - GLfloat w
491
+ glVertexAttrib4fv:
492
+ return_type: void
493
+ parameters:
494
+ - GLuint index
495
+ - GLfloat_in v
496
+ glVertexAttrib4iv:
497
+ return_type: void
498
+ parameters:
499
+ - GLuint index
500
+ - GLint_in v
501
+ glVertexAttrib4s:
502
+ return_type: void
503
+ parameters:
504
+ - GLuint index
505
+ - GLshort x
506
+ - GLshort y
507
+ - GLshort z
508
+ - GLshort w
509
+ glVertexAttrib4sv:
510
+ return_type: void
511
+ parameters:
512
+ - GLuint index
513
+ - GLshort_in v
514
+ glVertexAttrib4ubv:
515
+ return_type: void
516
+ parameters:
517
+ - GLuint index
518
+ - GLubyte_in v
519
+ glVertexAttrib4uiv:
520
+ return_type: void
521
+ parameters:
522
+ - GLuint index
523
+ - GLuint_in v
524
+ glVertexAttrib4usv:
525
+ return_type: void
526
+ parameters:
527
+ - GLuint index
528
+ - GLushort_in v
529
+ glVertexAttribPointer:
530
+ return_type: void
531
+ parameters:
532
+ - GLuint index
533
+ - GLint size
534
+ - GLenum type
535
+ - GLboolean normalized
536
+ - GLsizei stride
537
+ - buffer_in pointer