1 /* 2 ** 3 ** Copyright 2013, The Android Open Source Project 4 ** 5 ** Licensed under the Apache License, Version 2.0 (the "License"); 6 ** you may not use this file except in compliance with the License. 7 ** You may obtain a copy of the License at 8 ** 9 ** http://www.apache.org/licenses/LICENSE-2.0 10 ** 11 ** Unless required by applicable law or agreed to in writing, software 12 ** distributed under the License is distributed on an "AS IS" BASIS, 13 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ** See the License for the specific language governing permissions and 15 ** limitations under the License. 16 */ 17 18 // This source file is automatically generated 19 20 package com.badlogic.gdx.graphics; 21 22 import java.nio.Buffer; 23 24 /** OpenGL ES 3.0 */ 25 public interface GL30 extends GL20 { 26 public final int GL_READ_BUFFER = 0x0C02; 27 public final int GL_UNPACK_ROW_LENGTH = 0x0CF2; 28 public final int GL_UNPACK_SKIP_ROWS = 0x0CF3; 29 public final int GL_UNPACK_SKIP_PIXELS = 0x0CF4; 30 public final int GL_PACK_ROW_LENGTH = 0x0D02; 31 public final int GL_PACK_SKIP_ROWS = 0x0D03; 32 public final int GL_PACK_SKIP_PIXELS = 0x0D04; 33 public final int GL_COLOR = 0x1800; 34 public final int GL_DEPTH = 0x1801; 35 public final int GL_STENCIL = 0x1802; 36 public final int GL_RED = 0x1903; 37 public final int GL_RGB8 = 0x8051; 38 public final int GL_RGBA8 = 0x8058; 39 public final int GL_RGB10_A2 = 0x8059; 40 public final int GL_TEXTURE_BINDING_3D = 0x806A; 41 public final int GL_UNPACK_SKIP_IMAGES = 0x806D; 42 public final int GL_UNPACK_IMAGE_HEIGHT = 0x806E; 43 public final int GL_TEXTURE_3D = 0x806F; 44 public final int GL_TEXTURE_WRAP_R = 0x8072; 45 public final int GL_MAX_3D_TEXTURE_SIZE = 0x8073; 46 public final int GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368; 47 public final int GL_MAX_ELEMENTS_VERTICES = 0x80E8; 48 public final int GL_MAX_ELEMENTS_INDICES = 0x80E9; 49 public final int GL_TEXTURE_MIN_LOD = 0x813A; 50 public final int GL_TEXTURE_MAX_LOD = 0x813B; 51 public final int GL_TEXTURE_BASE_LEVEL = 0x813C; 52 public final int GL_TEXTURE_MAX_LEVEL = 0x813D; 53 public final int GL_MIN = 0x8007; 54 public final int GL_MAX = 0x8008; 55 public final int GL_DEPTH_COMPONENT24 = 0x81A6; 56 public final int GL_MAX_TEXTURE_LOD_BIAS = 0x84FD; 57 public final int GL_TEXTURE_COMPARE_MODE = 0x884C; 58 public final int GL_TEXTURE_COMPARE_FUNC = 0x884D; 59 public final int GL_CURRENT_QUERY = 0x8865; 60 public final int GL_QUERY_RESULT = 0x8866; 61 public final int GL_QUERY_RESULT_AVAILABLE = 0x8867; 62 public final int GL_BUFFER_MAPPED = 0x88BC; 63 public final int GL_BUFFER_MAP_POINTER = 0x88BD; 64 public final int GL_STREAM_READ = 0x88E1; 65 public final int GL_STREAM_COPY = 0x88E2; 66 public final int GL_STATIC_READ = 0x88E5; 67 public final int GL_STATIC_COPY = 0x88E6; 68 public final int GL_DYNAMIC_READ = 0x88E9; 69 public final int GL_DYNAMIC_COPY = 0x88EA; 70 public final int GL_MAX_DRAW_BUFFERS = 0x8824; 71 public final int GL_DRAW_BUFFER0 = 0x8825; 72 public final int GL_DRAW_BUFFER1 = 0x8826; 73 public final int GL_DRAW_BUFFER2 = 0x8827; 74 public final int GL_DRAW_BUFFER3 = 0x8828; 75 public final int GL_DRAW_BUFFER4 = 0x8829; 76 public final int GL_DRAW_BUFFER5 = 0x882A; 77 public final int GL_DRAW_BUFFER6 = 0x882B; 78 public final int GL_DRAW_BUFFER7 = 0x882C; 79 public final int GL_DRAW_BUFFER8 = 0x882D; 80 public final int GL_DRAW_BUFFER9 = 0x882E; 81 public final int GL_DRAW_BUFFER10 = 0x882F; 82 public final int GL_DRAW_BUFFER11 = 0x8830; 83 public final int GL_DRAW_BUFFER12 = 0x8831; 84 public final int GL_DRAW_BUFFER13 = 0x8832; 85 public final int GL_DRAW_BUFFER14 = 0x8833; 86 public final int GL_DRAW_BUFFER15 = 0x8834; 87 public final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49; 88 public final int GL_MAX_VERTEX_UNIFORM_COMPONENTS = 0x8B4A; 89 public final int GL_SAMPLER_3D = 0x8B5F; 90 public final int GL_SAMPLER_2D_SHADOW = 0x8B62; 91 public final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B; 92 public final int GL_PIXEL_PACK_BUFFER = 0x88EB; 93 public final int GL_PIXEL_UNPACK_BUFFER = 0x88EC; 94 public final int GL_PIXEL_PACK_BUFFER_BINDING = 0x88ED; 95 public final int GL_PIXEL_UNPACK_BUFFER_BINDING = 0x88EF; 96 public final int GL_FLOAT_MAT2x3 = 0x8B65; 97 public final int GL_FLOAT_MAT2x4 = 0x8B66; 98 public final int GL_FLOAT_MAT3x2 = 0x8B67; 99 public final int GL_FLOAT_MAT3x4 = 0x8B68; 100 public final int GL_FLOAT_MAT4x2 = 0x8B69; 101 public final int GL_FLOAT_MAT4x3 = 0x8B6A; 102 public final int GL_SRGB = 0x8C40; 103 public final int GL_SRGB8 = 0x8C41; 104 public final int GL_SRGB8_ALPHA8 = 0x8C43; 105 public final int GL_COMPARE_REF_TO_TEXTURE = 0x884E; 106 public final int GL_MAJOR_VERSION = 0x821B; 107 public final int GL_MINOR_VERSION = 0x821C; 108 public final int GL_NUM_EXTENSIONS = 0x821D; 109 public final int GL_RGBA32F = 0x8814; 110 public final int GL_RGB32F = 0x8815; 111 public final int GL_RGBA16F = 0x881A; 112 public final int GL_RGB16F = 0x881B; 113 public final int GL_VERTEX_ATTRIB_ARRAY_INTEGER = 0x88FD; 114 public final int GL_MAX_ARRAY_TEXTURE_LAYERS = 0x88FF; 115 public final int GL_MIN_PROGRAM_TEXEL_OFFSET = 0x8904; 116 public final int GL_MAX_PROGRAM_TEXEL_OFFSET = 0x8905; 117 public final int GL_MAX_VARYING_COMPONENTS = 0x8B4B; 118 public final int GL_TEXTURE_2D_ARRAY = 0x8C1A; 119 public final int GL_TEXTURE_BINDING_2D_ARRAY = 0x8C1D; 120 public final int GL_R11F_G11F_B10F = 0x8C3A; 121 public final int GL_UNSIGNED_INT_10F_11F_11F_REV = 0x8C3B; 122 public final int GL_RGB9_E5 = 0x8C3D; 123 public final int GL_UNSIGNED_INT_5_9_9_9_REV = 0x8C3E; 124 public final int GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 0x8C76; 125 public final int GL_TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F; 126 public final int GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80; 127 public final int GL_TRANSFORM_FEEDBACK_VARYINGS = 0x8C83; 128 public final int GL_TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84; 129 public final int GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85; 130 public final int GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88; 131 public final int GL_RASTERIZER_DISCARD = 0x8C89; 132 public final int GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A; 133 public final int GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B; 134 public final int GL_INTERLEAVED_ATTRIBS = 0x8C8C; 135 public final int GL_SEPARATE_ATTRIBS = 0x8C8D; 136 public final int GL_TRANSFORM_FEEDBACK_BUFFER = 0x8C8E; 137 public final int GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F; 138 public final int GL_RGBA32UI = 0x8D70; 139 public final int GL_RGB32UI = 0x8D71; 140 public final int GL_RGBA16UI = 0x8D76; 141 public final int GL_RGB16UI = 0x8D77; 142 public final int GL_RGBA8UI = 0x8D7C; 143 public final int GL_RGB8UI = 0x8D7D; 144 public final int GL_RGBA32I = 0x8D82; 145 public final int GL_RGB32I = 0x8D83; 146 public final int GL_RGBA16I = 0x8D88; 147 public final int GL_RGB16I = 0x8D89; 148 public final int GL_RGBA8I = 0x8D8E; 149 public final int GL_RGB8I = 0x8D8F; 150 public final int GL_RED_INTEGER = 0x8D94; 151 public final int GL_RGB_INTEGER = 0x8D98; 152 public final int GL_RGBA_INTEGER = 0x8D99; 153 public final int GL_SAMPLER_2D_ARRAY = 0x8DC1; 154 public final int GL_SAMPLER_2D_ARRAY_SHADOW = 0x8DC4; 155 public final int GL_SAMPLER_CUBE_SHADOW = 0x8DC5; 156 public final int GL_UNSIGNED_INT_VEC2 = 0x8DC6; 157 public final int GL_UNSIGNED_INT_VEC3 = 0x8DC7; 158 public final int GL_UNSIGNED_INT_VEC4 = 0x8DC8; 159 public final int GL_INT_SAMPLER_2D = 0x8DCA; 160 public final int GL_INT_SAMPLER_3D = 0x8DCB; 161 public final int GL_INT_SAMPLER_CUBE = 0x8DCC; 162 public final int GL_INT_SAMPLER_2D_ARRAY = 0x8DCF; 163 public final int GL_UNSIGNED_INT_SAMPLER_2D = 0x8DD2; 164 public final int GL_UNSIGNED_INT_SAMPLER_3D = 0x8DD3; 165 public final int GL_UNSIGNED_INT_SAMPLER_CUBE = 0x8DD4; 166 public final int GL_UNSIGNED_INT_SAMPLER_2D_ARRAY = 0x8DD7; 167 public final int GL_BUFFER_ACCESS_FLAGS = 0x911F; 168 public final int GL_BUFFER_MAP_LENGTH = 0x9120; 169 public final int GL_BUFFER_MAP_OFFSET = 0x9121; 170 public final int GL_DEPTH_COMPONENT32F = 0x8CAC; 171 public final int GL_DEPTH32F_STENCIL8 = 0x8CAD; 172 public final int GL_FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD; 173 public final int GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210; 174 public final int GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211; 175 public final int GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212; 176 public final int GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213; 177 public final int GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214; 178 public final int GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215; 179 public final int GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216; 180 public final int GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217; 181 public final int GL_FRAMEBUFFER_DEFAULT = 0x8218; 182 public final int GL_FRAMEBUFFER_UNDEFINED = 0x8219; 183 public final int GL_DEPTH_STENCIL_ATTACHMENT = 0x821A; 184 public final int GL_DEPTH_STENCIL = 0x84F9; 185 public final int GL_UNSIGNED_INT_24_8 = 0x84FA; 186 public final int GL_DEPTH24_STENCIL8 = 0x88F0; 187 public final int GL_UNSIGNED_NORMALIZED = 0x8C17; 188 public final int GL_DRAW_FRAMEBUFFER_BINDING = GL_FRAMEBUFFER_BINDING; 189 public final int GL_READ_FRAMEBUFFER = 0x8CA8; 190 public final int GL_DRAW_FRAMEBUFFER = 0x8CA9; 191 public final int GL_READ_FRAMEBUFFER_BINDING = 0x8CAA; 192 public final int GL_RENDERBUFFER_SAMPLES = 0x8CAB; 193 public final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4; 194 public final int GL_MAX_COLOR_ATTACHMENTS = 0x8CDF; 195 public final int GL_COLOR_ATTACHMENT1 = 0x8CE1; 196 public final int GL_COLOR_ATTACHMENT2 = 0x8CE2; 197 public final int GL_COLOR_ATTACHMENT3 = 0x8CE3; 198 public final int GL_COLOR_ATTACHMENT4 = 0x8CE4; 199 public final int GL_COLOR_ATTACHMENT5 = 0x8CE5; 200 public final int GL_COLOR_ATTACHMENT6 = 0x8CE6; 201 public final int GL_COLOR_ATTACHMENT7 = 0x8CE7; 202 public final int GL_COLOR_ATTACHMENT8 = 0x8CE8; 203 public final int GL_COLOR_ATTACHMENT9 = 0x8CE9; 204 public final int GL_COLOR_ATTACHMENT10 = 0x8CEA; 205 public final int GL_COLOR_ATTACHMENT11 = 0x8CEB; 206 public final int GL_COLOR_ATTACHMENT12 = 0x8CEC; 207 public final int GL_COLOR_ATTACHMENT13 = 0x8CED; 208 public final int GL_COLOR_ATTACHMENT14 = 0x8CEE; 209 public final int GL_COLOR_ATTACHMENT15 = 0x8CEF; 210 public final int GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56; 211 public final int GL_MAX_SAMPLES = 0x8D57; 212 public final int GL_HALF_FLOAT = 0x140B; 213 public final int GL_MAP_READ_BIT = 0x0001; 214 public final int GL_MAP_WRITE_BIT = 0x0002; 215 public final int GL_MAP_INVALIDATE_RANGE_BIT = 0x0004; 216 public final int GL_MAP_INVALIDATE_BUFFER_BIT = 0x0008; 217 public final int GL_MAP_FLUSH_EXPLICIT_BIT = 0x0010; 218 public final int GL_MAP_UNSYNCHRONIZED_BIT = 0x0020; 219 public final int GL_RG = 0x8227; 220 public final int GL_RG_INTEGER = 0x8228; 221 public final int GL_R8 = 0x8229; 222 public final int GL_RG8 = 0x822B; 223 public final int GL_R16F = 0x822D; 224 public final int GL_R32F = 0x822E; 225 public final int GL_RG16F = 0x822F; 226 public final int GL_RG32F = 0x8230; 227 public final int GL_R8I = 0x8231; 228 public final int GL_R8UI = 0x8232; 229 public final int GL_R16I = 0x8233; 230 public final int GL_R16UI = 0x8234; 231 public final int GL_R32I = 0x8235; 232 public final int GL_R32UI = 0x8236; 233 public final int GL_RG8I = 0x8237; 234 public final int GL_RG8UI = 0x8238; 235 public final int GL_RG16I = 0x8239; 236 public final int GL_RG16UI = 0x823A; 237 public final int GL_RG32I = 0x823B; 238 public final int GL_RG32UI = 0x823C; 239 public final int GL_VERTEX_ARRAY_BINDING = 0x85B5; 240 public final int GL_R8_SNORM = 0x8F94; 241 public final int GL_RG8_SNORM = 0x8F95; 242 public final int GL_RGB8_SNORM = 0x8F96; 243 public final int GL_RGBA8_SNORM = 0x8F97; 244 public final int GL_SIGNED_NORMALIZED = 0x8F9C; 245 public final int GL_PRIMITIVE_RESTART_FIXED_INDEX = 0x8D69; 246 public final int GL_COPY_READ_BUFFER = 0x8F36; 247 public final int GL_COPY_WRITE_BUFFER = 0x8F37; 248 public final int GL_COPY_READ_BUFFER_BINDING = GL_COPY_READ_BUFFER; 249 public final int GL_COPY_WRITE_BUFFER_BINDING = GL_COPY_WRITE_BUFFER; 250 public final int GL_UNIFORM_BUFFER = 0x8A11; 251 public final int GL_UNIFORM_BUFFER_BINDING = 0x8A28; 252 public final int GL_UNIFORM_BUFFER_START = 0x8A29; 253 public final int GL_UNIFORM_BUFFER_SIZE = 0x8A2A; 254 public final int GL_MAX_VERTEX_UNIFORM_BLOCKS = 0x8A2B; 255 public final int GL_MAX_FRAGMENT_UNIFORM_BLOCKS = 0x8A2D; 256 public final int GL_MAX_COMBINED_UNIFORM_BLOCKS = 0x8A2E; 257 public final int GL_MAX_UNIFORM_BUFFER_BINDINGS = 0x8A2F; 258 public final int GL_MAX_UNIFORM_BLOCK_SIZE = 0x8A30; 259 public final int GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8A31; 260 public final int GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33; 261 public final int GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34; 262 public final int GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35; 263 public final int GL_ACTIVE_UNIFORM_BLOCKS = 0x8A36; 264 public final int GL_UNIFORM_TYPE = 0x8A37; 265 public final int GL_UNIFORM_SIZE = 0x8A38; 266 public final int GL_UNIFORM_NAME_LENGTH = 0x8A39; 267 public final int GL_UNIFORM_BLOCK_INDEX = 0x8A3A; 268 public final int GL_UNIFORM_OFFSET = 0x8A3B; 269 public final int GL_UNIFORM_ARRAY_STRIDE = 0x8A3C; 270 public final int GL_UNIFORM_MATRIX_STRIDE = 0x8A3D; 271 public final int GL_UNIFORM_IS_ROW_MAJOR = 0x8A3E; 272 public final int GL_UNIFORM_BLOCK_BINDING = 0x8A3F; 273 public final int GL_UNIFORM_BLOCK_DATA_SIZE = 0x8A40; 274 public final int GL_UNIFORM_BLOCK_NAME_LENGTH = 0x8A41; 275 public final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8A42; 276 public final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43; 277 public final int GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8A44; 278 public final int GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46; 279 // GL_INVALID_INDEX is defined as 0xFFFFFFFFu in C. 280 public final int GL_INVALID_INDEX = -1; 281 public final int GL_MAX_VERTEX_OUTPUT_COMPONENTS = 0x9122; 282 public final int GL_MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125; 283 public final int GL_MAX_SERVER_WAIT_TIMEOUT = 0x9111; 284 public final int GL_OBJECT_TYPE = 0x9112; 285 public final int GL_SYNC_CONDITION = 0x9113; 286 public final int GL_SYNC_STATUS = 0x9114; 287 public final int GL_SYNC_FLAGS = 0x9115; 288 public final int GL_SYNC_FENCE = 0x9116; 289 public final int GL_SYNC_GPU_COMMANDS_COMPLETE = 0x9117; 290 public final int GL_UNSIGNALED = 0x9118; 291 public final int GL_SIGNALED = 0x9119; 292 public final int GL_ALREADY_SIGNALED = 0x911A; 293 public final int GL_TIMEOUT_EXPIRED = 0x911B; 294 public final int GL_CONDITION_SATISFIED = 0x911C; 295 public final int GL_WAIT_FAILED = 0x911D; 296 public final int GL_SYNC_FLUSH_COMMANDS_BIT = 0x00000001; 297 // GL_TIMEOUT_IGNORED is defined as 0xFFFFFFFFFFFFFFFFull in C. 298 public final long GL_TIMEOUT_IGNORED = -1; 299 public final int GL_VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88FE; 300 public final int GL_ANY_SAMPLES_PASSED = 0x8C2F; 301 public final int GL_ANY_SAMPLES_PASSED_CONSERVATIVE = 0x8D6A; 302 public final int GL_SAMPLER_BINDING = 0x8919; 303 public final int GL_RGB10_A2UI = 0x906F; 304 public final int GL_TEXTURE_SWIZZLE_R = 0x8E42; 305 public final int GL_TEXTURE_SWIZZLE_G = 0x8E43; 306 public final int GL_TEXTURE_SWIZZLE_B = 0x8E44; 307 public final int GL_TEXTURE_SWIZZLE_A = 0x8E45; 308 public final int GL_GREEN = 0x1904; 309 public final int GL_BLUE = 0x1905; 310 public final int GL_INT_2_10_10_10_REV = 0x8D9F; 311 public final int GL_TRANSFORM_FEEDBACK = 0x8E22; 312 public final int GL_TRANSFORM_FEEDBACK_PAUSED = 0x8E23; 313 public final int GL_TRANSFORM_FEEDBACK_ACTIVE = 0x8E24; 314 public final int GL_TRANSFORM_FEEDBACK_BINDING = 0x8E25; 315 public final int GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257; 316 public final int GL_PROGRAM_BINARY_LENGTH = 0x8741; 317 public final int GL_NUM_PROGRAM_BINARY_FORMATS = 0x87FE; 318 public final int GL_PROGRAM_BINARY_FORMATS = 0x87FF; 319 public final int GL_COMPRESSED_R11_EAC = 0x9270; 320 public final int GL_COMPRESSED_SIGNED_R11_EAC = 0x9271; 321 public final int GL_COMPRESSED_RG11_EAC = 0x9272; 322 public final int GL_COMPRESSED_SIGNED_RG11_EAC = 0x9273; 323 public final int GL_COMPRESSED_RGB8_ETC2 = 0x9274; 324 public final int GL_COMPRESSED_SRGB8_ETC2 = 0x9275; 325 public final int GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9276; 326 public final int GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277; 327 public final int GL_COMPRESSED_RGBA8_ETC2_EAC = 0x9278; 328 public final int GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279; 329 public final int GL_TEXTURE_IMMUTABLE_FORMAT = 0x912F; 330 public final int GL_MAX_ELEMENT_INDEX = 0x8D6B; 331 public final int GL_NUM_SAMPLE_COUNTS = 0x9380; 332 public final int GL_TEXTURE_IMMUTABLE_LEVELS = 0x82DF; 333 334 // C function void glReadBuffer ( GLenum mode ) 335 glReadBuffer(int mode)336 public void glReadBuffer (int mode); 337 338 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid 339 // *indices ) 340 glDrawRangeElements(int mode, int start, int end, int count, int type, java.nio.Buffer indices)341 public void glDrawRangeElements (int mode, int start, int end, int count, int type, java.nio.Buffer indices); 342 343 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset ) 344 glDrawRangeElements(int mode, int start, int end, int count, int type, int offset)345 public void glDrawRangeElements (int mode, int start, int end, int count, int type, int offset); 346 347 // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei 348 // depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) 349 glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.Buffer pixels)350 public void glTexImage3D (int target, int level, int internalformat, int width, int height, int depth, int border, int format, 351 int type, java.nio.Buffer pixels); 352 353 // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei 354 // depth, GLint border, GLenum format, GLenum type, GLsizei offset ) 355 glTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, int offset)356 public void glTexImage3D (int target, int level, int internalformat, int width, int height, int depth, int border, int format, 357 int type, int offset); 358 359 // C function void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, 360 // GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels ) 361 glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, java.nio.Buffer pixels)362 public void glTexSubImage3D (int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, 363 int format, int type, java.nio.Buffer pixels); 364 365 // C function void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, 366 // GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei offset ) 367 glTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int offset)368 public void glTexSubImage3D (int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, 369 int format, int type, int offset); 370 371 // C function void glCopyTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, 372 // GLint y, GLsizei width, GLsizei height ) 373 glCopyTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)374 public void glCopyTexSubImage3D (int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, 375 int height); 376 377 // // C function void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, 378 // GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data ) 379 // 380 // public void glCompressedTexImage3D( 381 // int target, 382 // int level, 383 // int internalformat, 384 // int width, 385 // int height, 386 // int depth, 387 // int border, 388 // int imageSize, 389 // java.nio.Buffer data 390 // ); 391 // 392 // // C function void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, 393 // GLsizei depth, GLint border, GLsizei imageSize, GLsizei offset ) 394 // 395 // public void glCompressedTexImage3D( 396 // int target, 397 // int level, 398 // int internalformat, 399 // int width, 400 // int height, 401 // int depth, 402 // int border, 403 // int imageSize, 404 // int offset 405 // ); 406 // 407 // // C function void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei 408 // width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data ) 409 // 410 // public void glCompressedTexSubImage3D( 411 // int target, 412 // int level, 413 // int xoffset, 414 // int yoffset, 415 // int zoffset, 416 // int width, 417 // int height, 418 // int depth, 419 // int format, 420 // int imageSize, 421 // java.nio.Buffer data 422 // ); 423 // 424 // // C function void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei 425 // width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLsizei offset ) 426 // 427 // public void glCompressedTexSubImage3D( 428 // int target, 429 // int level, 430 // int xoffset, 431 // int yoffset, 432 // int zoffset, 433 // int width, 434 // int height, 435 // int depth, 436 // int format, 437 // int imageSize, 438 // int offset 439 // ); 440 441 // C function void glGenQueries ( GLsizei n, GLuint *ids ) 442 glGenQueries(int n, int[] ids, int offset)443 public void glGenQueries (int n, int[] ids, int offset); 444 445 // C function void glGenQueries ( GLsizei n, GLuint *ids ) 446 glGenQueries(int n, java.nio.IntBuffer ids)447 public void glGenQueries (int n, java.nio.IntBuffer ids); 448 449 // C function void glDeleteQueries ( GLsizei n, const GLuint *ids ) 450 glDeleteQueries(int n, int[] ids, int offset)451 public void glDeleteQueries (int n, int[] ids, int offset); 452 453 // C function void glDeleteQueries ( GLsizei n, const GLuint *ids ) 454 glDeleteQueries(int n, java.nio.IntBuffer ids)455 public void glDeleteQueries (int n, java.nio.IntBuffer ids); 456 457 // C function GLboolean glIsQuery ( GLuint id ) 458 glIsQuery(int id)459 public boolean glIsQuery (int id); 460 461 // C function void glBeginQuery ( GLenum target, GLuint id ) 462 glBeginQuery(int target, int id)463 public void glBeginQuery (int target, int id); 464 465 // C function void glEndQuery ( GLenum target ) 466 glEndQuery(int target)467 public void glEndQuery (int target); 468 469 // // C function void glGetQueryiv ( GLenum target, GLenum pname, GLint *params ) 470 // 471 // public void glGetQueryiv( 472 // int target, 473 // int pname, 474 // int[] params, 475 // int offset 476 // ); 477 478 // C function void glGetQueryiv ( GLenum target, GLenum pname, GLint *params ) 479 glGetQueryiv(int target, int pname, java.nio.IntBuffer params)480 public void glGetQueryiv (int target, int pname, java.nio.IntBuffer params); 481 482 // // C function void glGetQueryObjectuiv ( GLuint id, GLenum pname, GLuint *params ) 483 // 484 // public void glGetQueryObjectuiv( 485 // int id, 486 // int pname, 487 // int[] params, 488 // int offset 489 // ); 490 491 // C function void glGetQueryObjectuiv ( GLuint id, GLenum pname, GLuint *params ) 492 glGetQueryObjectuiv(int id, int pname, java.nio.IntBuffer params)493 public void glGetQueryObjectuiv (int id, int pname, java.nio.IntBuffer params); 494 495 // C function GLboolean glUnmapBuffer ( GLenum target ) 496 glUnmapBuffer(int target)497 public boolean glUnmapBuffer (int target); 498 499 // C function void glGetBufferPointerv ( GLenum target, GLenum pname, GLvoid** params ) 500 glGetBufferPointerv(int target, int pname)501 public java.nio.Buffer glGetBufferPointerv (int target, int pname); 502 503 // // C function void glDrawBuffers ( GLsizei n, const GLenum *bufs ) 504 // 505 // public void glDrawBuffers( 506 // int n, 507 // int[] bufs, 508 // int offset 509 // ); 510 511 // C function void glDrawBuffers ( GLsizei n, const GLenum *bufs ) 512 glDrawBuffers(int n, java.nio.IntBuffer bufs)513 public void glDrawBuffers (int n, java.nio.IntBuffer bufs); 514 515 // // C function void glUniformMatrix2x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 516 // 517 // public void glUniformMatrix2x3fv( 518 // int location, 519 // int count, 520 // boolean transpose, 521 // float[] value, 522 // int offset 523 // ); 524 525 // C function void glUniformMatrix2x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 526 glUniformMatrix2x3fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)527 public void glUniformMatrix2x3fv (int location, int count, boolean transpose, java.nio.FloatBuffer value); 528 529 // // C function void glUniformMatrix3x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 530 // 531 // public void glUniformMatrix3x2fv( 532 // int location, 533 // int count, 534 // boolean transpose, 535 // float[] value, 536 // int offset 537 // ); 538 539 // C function void glUniformMatrix3x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 540 glUniformMatrix3x2fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)541 public void glUniformMatrix3x2fv (int location, int count, boolean transpose, java.nio.FloatBuffer value); 542 543 // // C function void glUniformMatrix2x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 544 // 545 // public void glUniformMatrix2x4fv( 546 // int location, 547 // int count, 548 // boolean transpose, 549 // float[] value, 550 // int offset 551 // ); 552 553 // C function void glUniformMatrix2x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 554 glUniformMatrix2x4fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)555 public void glUniformMatrix2x4fv (int location, int count, boolean transpose, java.nio.FloatBuffer value); 556 557 // // C function void glUniformMatrix4x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 558 // 559 // public void glUniformMatrix4x2fv( 560 // int location, 561 // int count, 562 // boolean transpose, 563 // float[] value, 564 // int offset 565 // ); 566 567 // C function void glUniformMatrix4x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 568 glUniformMatrix4x2fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)569 public void glUniformMatrix4x2fv (int location, int count, boolean transpose, java.nio.FloatBuffer value); 570 571 // // C function void glUniformMatrix3x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 572 // 573 // public void glUniformMatrix3x4fv( 574 // int location, 575 // int count, 576 // boolean transpose, 577 // float[] value, 578 // int offset 579 // ); 580 581 // C function void glUniformMatrix3x4fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 582 glUniformMatrix3x4fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)583 public void glUniformMatrix3x4fv (int location, int count, boolean transpose, java.nio.FloatBuffer value); 584 585 // // C function void glUniformMatrix4x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 586 // 587 // public void glUniformMatrix4x3fv( 588 // int location, 589 // int count, 590 // boolean transpose, 591 // float[] value, 592 // int offset 593 // ); 594 595 // C function void glUniformMatrix4x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 596 glUniformMatrix4x3fv(int location, int count, boolean transpose, java.nio.FloatBuffer value)597 public void glUniformMatrix4x3fv (int location, int count, boolean transpose, java.nio.FloatBuffer value); 598 599 // C function void glBlitFramebuffer ( GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint 600 // dstX1, GLint dstY1, GLbitfield mask, GLenum filter ) 601 glBlitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter)602 public void glBlitFramebuffer (int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, 603 int mask, int filter); 604 605 // C function void glRenderbufferStorageMultisample ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, 606 // GLsizei height ) 607 glRenderbufferStorageMultisample(int target, int samples, int internalformat, int width, int height)608 public void glRenderbufferStorageMultisample (int target, int samples, int internalformat, int width, int height); 609 610 // C function void glFramebufferTextureLayer ( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer ) 611 glFramebufferTextureLayer(int target, int attachment, int texture, int level, int layer)612 public void glFramebufferTextureLayer (int target, int attachment, int texture, int level, int layer); 613 614 // // C function GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access ) 615 // 616 // public java.nio.Buffer glMapBufferRange( 617 // int target, 618 // int offset, 619 // int length, 620 // int access 621 // ); 622 623 // C function void glFlushMappedBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length ) 624 glFlushMappedBufferRange(int target, int offset, int length)625 public void glFlushMappedBufferRange (int target, int offset, int length); 626 627 // C function void glBindVertexArray ( GLuint array ) 628 glBindVertexArray(int array)629 public void glBindVertexArray (int array); 630 631 // C function void glDeleteVertexArrays ( GLsizei n, const GLuint *arrays ) 632 glDeleteVertexArrays(int n, int[] arrays, int offset)633 public void glDeleteVertexArrays (int n, int[] arrays, int offset); 634 635 // C function void glDeleteVertexArrays ( GLsizei n, const GLuint *arrays ) 636 glDeleteVertexArrays(int n, java.nio.IntBuffer arrays)637 public void glDeleteVertexArrays (int n, java.nio.IntBuffer arrays); 638 639 // C function void glGenVertexArrays ( GLsizei n, GLuint *arrays ) 640 glGenVertexArrays(int n, int[] arrays, int offset)641 public void glGenVertexArrays (int n, int[] arrays, int offset); 642 643 // C function void glGenVertexArrays ( GLsizei n, GLuint *arrays ) 644 glGenVertexArrays(int n, java.nio.IntBuffer arrays)645 public void glGenVertexArrays (int n, java.nio.IntBuffer arrays); 646 647 // C function GLboolean glIsVertexArray ( GLuint array ) 648 glIsVertexArray(int array)649 public boolean glIsVertexArray (int array); 650 651 // 652 // // C function void glGetIntegeri_v ( GLenum target, GLuint index, GLint *data ) 653 // 654 // public void glGetIntegeri_v( 655 // int target, 656 // int index, 657 // int[] data, 658 // int offset 659 // ); 660 // 661 // // C function void glGetIntegeri_v ( GLenum target, GLuint index, GLint *data ) 662 // 663 // public void glGetIntegeri_v( 664 // int target, 665 // int index, 666 // java.nio.IntBuffer data 667 // ); 668 669 // C function void glBeginTransformFeedback ( GLenum primitiveMode ) 670 glBeginTransformFeedback(int primitiveMode)671 public void glBeginTransformFeedback (int primitiveMode); 672 673 // C function void glEndTransformFeedback ( void ) 674 glEndTransformFeedback()675 public void glEndTransformFeedback (); 676 677 // C function void glBindBufferRange ( GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size ) 678 glBindBufferRange(int target, int index, int buffer, int offset, int size)679 public void glBindBufferRange (int target, int index, int buffer, int offset, int size); 680 681 // C function void glBindBufferBase ( GLenum target, GLuint index, GLuint buffer ) 682 glBindBufferBase(int target, int index, int buffer)683 public void glBindBufferBase (int target, int index, int buffer); 684 685 // C function void glTransformFeedbackVaryings ( GLuint program, GLsizei count, const GLchar *varyings, GLenum bufferMode ) 686 glTransformFeedbackVaryings(int program, String[] varyings, int bufferMode)687 public void glTransformFeedbackVaryings (int program, String[] varyings, int bufferMode); 688 689 // // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, 690 // GLenum *type, GLchar *name ) 691 // 692 // public void glGetTransformFeedbackVarying( 693 // int program, 694 // int index, 695 // int bufsize, 696 // int[] length, 697 // int lengthOffset, 698 // int[] size, 699 // int sizeOffset, 700 // int[] type, 701 // int typeOffset, 702 // byte[] name, 703 // int nameOffset 704 // ); 705 // 706 // // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, 707 // GLenum *type, GLchar *name ) 708 // 709 // public void glGetTransformFeedbackVarying( 710 // int program, 711 // int index, 712 // int bufsize, 713 // java.nio.IntBuffer length, 714 // java.nio.IntBuffer size, 715 // java.nio.IntBuffer type, 716 // byte name 717 // ); 718 // 719 // // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, 720 // GLenum *type, GLchar *name ) 721 // 722 // public String glGetTransformFeedbackVarying( 723 // int program, 724 // int index, 725 // int[] size, 726 // int sizeOffset, 727 // int[] type, 728 // int typeOffset 729 // ); 730 // 731 // // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, 732 // GLenum *type, GLchar *name ) 733 // 734 // public String glGetTransformFeedbackVarying( 735 // int program, 736 // int index, 737 // java.nio.IntBuffer size, 738 // java.nio.IntBuffer type 739 // ); 740 741 // C function void glVertexAttribIPointer ( GLuint index, GLint size, GLenum type, GLsizei stride, GLsizei offset ) 742 glVertexAttribIPointer(int index, int size, int type, int stride, int offset)743 public void glVertexAttribIPointer (int index, int size, int type, int stride, int offset); 744 745 // // C function void glGetVertexAttribIiv ( GLuint index, GLenum pname, GLint *params ) 746 // 747 // public void glGetVertexAttribIiv( 748 // int index, 749 // int pname, 750 // int[] params, 751 // int offset 752 // ); 753 754 // C function void glGetVertexAttribIiv ( GLuint index, GLenum pname, GLint *params ) 755 glGetVertexAttribIiv(int index, int pname, java.nio.IntBuffer params)756 public void glGetVertexAttribIiv (int index, int pname, java.nio.IntBuffer params); 757 758 // // C function void glGetVertexAttribIuiv ( GLuint index, GLenum pname, GLuint *params ) 759 // 760 // public void glGetVertexAttribIuiv( 761 // int index, 762 // int pname, 763 // int[] params, 764 // int offset 765 // ); 766 767 // C function void glGetVertexAttribIuiv ( GLuint index, GLenum pname, GLuint *params ) 768 glGetVertexAttribIuiv(int index, int pname, java.nio.IntBuffer params)769 public void glGetVertexAttribIuiv (int index, int pname, java.nio.IntBuffer params); 770 771 // C function void glVertexAttribI4i ( GLuint index, GLint x, GLint y, GLint z, GLint w ) 772 glVertexAttribI4i(int index, int x, int y, int z, int w)773 public void glVertexAttribI4i (int index, int x, int y, int z, int w); 774 775 // C function void glVertexAttribI4ui ( GLuint index, GLuint x, GLuint y, GLuint z, GLuint w ) 776 glVertexAttribI4ui(int index, int x, int y, int z, int w)777 public void glVertexAttribI4ui (int index, int x, int y, int z, int w); 778 779 // // C function void glVertexAttribI4iv ( GLuint index, const GLint *v ) 780 // 781 // public void glVertexAttribI4iv( 782 // int index, 783 // int[] v, 784 // int offset 785 // ); 786 // 787 // // C function void glVertexAttribI4iv ( GLuint index, const GLint *v ) 788 // 789 // public void glVertexAttribI4iv( 790 // int index, 791 // java.nio.IntBuffer v 792 // ); 793 // 794 // // C function void glVertexAttribI4uiv ( GLuint index, const GLuint *v ) 795 // 796 // public void glVertexAttribI4uiv( 797 // int index, 798 // int[] v, 799 // int offset 800 // ); 801 // 802 // // C function void glVertexAttribI4uiv ( GLuint index, const GLuint *v ) 803 // 804 // public void glVertexAttribI4uiv( 805 // int index, 806 // java.nio.IntBuffer v 807 // ); 808 // 809 // // C function void glGetUniformuiv ( GLuint program, GLint location, GLuint *params ) 810 // 811 // public void glGetUniformuiv( 812 // int program, 813 // int location, 814 // int[] params, 815 // int offset 816 // ); 817 818 // C function void glGetUniformuiv ( GLuint program, GLint location, GLuint *params ) 819 glGetUniformuiv(int program, int location, java.nio.IntBuffer params)820 public void glGetUniformuiv (int program, int location, java.nio.IntBuffer params); 821 822 // C function GLint glGetFragDataLocation ( GLuint program, const GLchar *name ) 823 glGetFragDataLocation(int program, String name)824 public int glGetFragDataLocation (int program, String name); 825 826 // // C function void glUniform1ui ( GLint location, GLuint v0 ) 827 // 828 // public void glUniform1ui( 829 // int location, 830 // int v0 831 // ); 832 // 833 // // C function void glUniform2ui ( GLint location, GLuint v0, GLuint v1 ) 834 // 835 // public void glUniform2ui( 836 // int location, 837 // int v0, 838 // int v1 839 // ); 840 // 841 // // C function void glUniform3ui ( GLint location, GLuint v0, GLuint v1, GLuint v2 ) 842 // 843 // public void glUniform3ui( 844 // int location, 845 // int v0, 846 // int v1, 847 // int v2 848 // ); 849 // 850 // // C function void glUniform4ui ( GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 ) 851 // 852 // public void glUniform4ui( 853 // int location, 854 // int v0, 855 // int v1, 856 // int v2, 857 // int v3 858 // ); 859 // 860 // // C function void glUniform1uiv ( GLint location, GLsizei count, const GLuint *value ) 861 // 862 // public void glUniform1uiv( 863 // int location, 864 // int count, 865 // int[] value, 866 // int offset 867 // ); 868 869 // C function void glUniform1uiv ( GLint location, GLsizei count, const GLuint *value ) 870 glUniform1uiv(int location, int count, java.nio.IntBuffer value)871 public void glUniform1uiv (int location, int count, java.nio.IntBuffer value); 872 873 // // C function void glUniform2uiv ( GLint location, GLsizei count, const GLuint *value ) 874 // 875 // public void glUniform2uiv( 876 // int location, 877 // int count, 878 // int[] value, 879 // int offset 880 // ); 881 // 882 // // C function void glUniform2uiv ( GLint location, GLsizei count, const GLuint *value ) 883 // 884 // public void glUniform2uiv( 885 // int location, 886 // int count, 887 // java.nio.IntBuffer value 888 // ); 889 // 890 // // C function void glUniform3uiv ( GLint location, GLsizei count, const GLuint *value ) 891 // 892 // public void glUniform3uiv( 893 // int location, 894 // int count, 895 // int[] value, 896 // int offset 897 // ); 898 899 // C function void glUniform3uiv ( GLint location, GLsizei count, const GLuint *value ) 900 glUniform3uiv(int location, int count, java.nio.IntBuffer value)901 public void glUniform3uiv (int location, int count, java.nio.IntBuffer value); 902 903 // // C function void glUniform4uiv ( GLint location, GLsizei count, const GLuint *value ) 904 // 905 // public void glUniform4uiv( 906 // int location, 907 // int count, 908 // int[] value, 909 // int offset 910 // ); 911 912 // C function void glUniform4uiv ( GLint location, GLsizei count, const GLuint *value ) 913 glUniform4uiv(int location, int count, java.nio.IntBuffer value)914 public void glUniform4uiv (int location, int count, java.nio.IntBuffer value); 915 916 // // C function void glClearBufferiv ( GLenum buffer, GLint drawbuffer, const GLint *value ) 917 // 918 // public void glClearBufferiv( 919 // int buffer, 920 // int drawbuffer, 921 // int[] value, 922 // int offset 923 // ); 924 925 // C function void glClearBufferiv ( GLenum buffer, GLint drawbuffer, const GLint *value ) 926 glClearBufferiv(int buffer, int drawbuffer, java.nio.IntBuffer value)927 public void glClearBufferiv (int buffer, int drawbuffer, java.nio.IntBuffer value); 928 929 // // C function void glClearBufferuiv ( GLenum buffer, GLint drawbuffer, const GLuint *value ) 930 // 931 // public void glClearBufferuiv( 932 // int buffer, 933 // int drawbuffer, 934 // int[] value, 935 // int offset 936 // ); 937 938 // C function void glClearBufferuiv ( GLenum buffer, GLint drawbuffer, const GLuint *value ) 939 glClearBufferuiv(int buffer, int drawbuffer, java.nio.IntBuffer value)940 public void glClearBufferuiv (int buffer, int drawbuffer, java.nio.IntBuffer value); 941 942 // // C function void glClearBufferfv ( GLenum buffer, GLint drawbuffer, const GLfloat *value ) 943 // 944 // public void glClearBufferfv( 945 // int buffer, 946 // int drawbuffer, 947 // float[] value, 948 // int offset 949 // ); 950 951 // C function void glClearBufferfv ( GLenum buffer, GLint drawbuffer, const GLfloat *value ) 952 glClearBufferfv(int buffer, int drawbuffer, java.nio.FloatBuffer value)953 public void glClearBufferfv (int buffer, int drawbuffer, java.nio.FloatBuffer value); 954 955 // C function void glClearBufferfi ( GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil ) 956 glClearBufferfi(int buffer, int drawbuffer, float depth, int stencil)957 public void glClearBufferfi (int buffer, int drawbuffer, float depth, int stencil); 958 959 // C function const GLubyte * glGetStringi ( GLenum name, GLuint index ) 960 glGetStringi(int name, int index)961 public String glGetStringi (int name, int index); 962 963 // C function void glCopyBufferSubData ( GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, 964 // GLsizeiptr size ) 965 glCopyBufferSubData(int readTarget, int writeTarget, int readOffset, int writeOffset, int size)966 public void glCopyBufferSubData (int readTarget, int writeTarget, int readOffset, int writeOffset, int size); 967 968 // // C function void glGetUniformIndices ( GLuint program, GLsizei uniformCount, const GLchar *const *uniformNames, GLuint 969 // *uniformIndices ) 970 // 971 // public void glGetUniformIndices( 972 // int program, 973 // String[] uniformNames, 974 // int[] uniformIndices, 975 // int uniformIndicesOffset 976 // ); 977 978 // C function void glGetUniformIndices ( GLuint program, GLsizei uniformCount, const GLchar *const *uniformNames, GLuint 979 // *uniformIndices ) 980 glGetUniformIndices(int program, String[] uniformNames, java.nio.IntBuffer uniformIndices)981 public void glGetUniformIndices (int program, String[] uniformNames, java.nio.IntBuffer uniformIndices); 982 983 // // C function void glGetActiveUniformsiv ( GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, 984 // GLint *params ) 985 // 986 // public void glGetActiveUniformsiv( 987 // int program, 988 // int uniformCount, 989 // int[] uniformIndices, 990 // int uniformIndicesOffset, 991 // int pname, 992 // int[] params, 993 // int paramsOffset 994 // ); 995 996 // C function void glGetActiveUniformsiv ( GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, 997 // GLint *params ) 998 glGetActiveUniformsiv(int program, int uniformCount, java.nio.IntBuffer uniformIndices, int pname, java.nio.IntBuffer params)999 public void glGetActiveUniformsiv (int program, int uniformCount, java.nio.IntBuffer uniformIndices, int pname, 1000 java.nio.IntBuffer params); 1001 1002 // C function GLuint glGetUniformBlockIndex ( GLuint program, const GLchar *uniformBlockName ) 1003 glGetUniformBlockIndex(int program, String uniformBlockName)1004 public int glGetUniformBlockIndex (int program, String uniformBlockName); 1005 1006 // // C function void glGetActiveUniformBlockiv ( GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params ) 1007 // 1008 // public void glGetActiveUniformBlockiv( 1009 // int program, 1010 // int uniformBlockIndex, 1011 // int pname, 1012 // int[] params, 1013 // int offset 1014 // ); 1015 1016 // C function void glGetActiveUniformBlockiv ( GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params ) 1017 glGetActiveUniformBlockiv(int program, int uniformBlockIndex, int pname, java.nio.IntBuffer params)1018 public void glGetActiveUniformBlockiv (int program, int uniformBlockIndex, int pname, java.nio.IntBuffer params); 1019 1020 // // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, 1021 // GLchar *uniformBlockName ) 1022 // 1023 // public void glGetActiveUniformBlockName( 1024 // int program, 1025 // int uniformBlockIndex, 1026 // int bufSize, 1027 // int[] length, 1028 // int lengthOffset, 1029 // byte[] uniformBlockName, 1030 // int uniformBlockNameOffset 1031 // ); 1032 1033 // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, 1034 // GLchar *uniformBlockName ) 1035 glGetActiveUniformBlockName(int program, int uniformBlockIndex, java.nio.Buffer length, java.nio.Buffer uniformBlockName)1036 public void glGetActiveUniformBlockName (int program, int uniformBlockIndex, java.nio.Buffer length, 1037 java.nio.Buffer uniformBlockName); 1038 1039 // C function void glGetActiveUniformBlockName ( GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, 1040 // GLchar *uniformBlockName ) 1041 glGetActiveUniformBlockName(int program, int uniformBlockIndex)1042 public String glGetActiveUniformBlockName (int program, int uniformBlockIndex); 1043 1044 // C function void glUniformBlockBinding ( GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding ) 1045 glUniformBlockBinding(int program, int uniformBlockIndex, int uniformBlockBinding)1046 public void glUniformBlockBinding (int program, int uniformBlockIndex, int uniformBlockBinding); 1047 1048 // C function void glDrawArraysInstanced ( GLenum mode, GLint first, GLsizei count, GLsizei instanceCount ) 1049 glDrawArraysInstanced(int mode, int first, int count, int instanceCount)1050 public void glDrawArraysInstanced (int mode, int first, int count, int instanceCount); 1051 1052 // // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei 1053 // instanceCount ) 1054 // 1055 // public void glDrawElementsInstanced( 1056 // int mode, 1057 // int count, 1058 // int type, 1059 // java.nio.Buffer indices, 1060 // int instanceCount 1061 // ); 1062 1063 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei 1064 // instanceCount ) 1065 glDrawElementsInstanced(int mode, int count, int type, int indicesOffset, int instanceCount)1066 public void glDrawElementsInstanced (int mode, int count, int type, int indicesOffset, int instanceCount); 1067 1068 // // C function GLsync glFenceSync ( GLenum condition, GLbitfield flags ) 1069 // 1070 // public long glFenceSync( 1071 // int condition, 1072 // int flags 1073 // ); 1074 // 1075 // // C function GLboolean glIsSync ( GLsync sync ) 1076 // 1077 // public boolean glIsSync( 1078 // long sync 1079 // ); 1080 // 1081 // // C function void glDeleteSync ( GLsync sync ) 1082 // 1083 // public void glDeleteSync( 1084 // long sync 1085 // ); 1086 // 1087 // // C function GLenum glClientWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout ) 1088 // 1089 // public int glClientWaitSync( 1090 // long sync, 1091 // int flags, 1092 // long timeout 1093 // ); 1094 // 1095 // // C function void glWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout ) 1096 // 1097 // public void glWaitSync( 1098 // long sync, 1099 // int flags, 1100 // long timeout 1101 // ); 1102 1103 // // C function void glGetInteger64v ( GLenum pname, GLint64 *params ) 1104 // 1105 // public void glGetInteger64v( 1106 // int pname, 1107 // long[] params, 1108 // int offset 1109 // ); 1110 1111 // C function void glGetInteger64v ( GLenum pname, GLint64 *params ) 1112 glGetInteger64v(int pname, java.nio.LongBuffer params)1113 public void glGetInteger64v (int pname, java.nio.LongBuffer params); 1114 1115 // // C function void glGetSynciv ( GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values ) 1116 // 1117 // public void glGetSynciv( 1118 // long sync, 1119 // int pname, 1120 // int bufSize, 1121 // int[] length, 1122 // int lengthOffset, 1123 // int[] values, 1124 // int valuesOffset 1125 // ); 1126 // 1127 // // C function void glGetSynciv ( GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values ) 1128 // 1129 // public void glGetSynciv( 1130 // long sync, 1131 // int pname, 1132 // int bufSize, 1133 // java.nio.IntBuffer length, 1134 // java.nio.IntBuffer values 1135 // ); 1136 // 1137 // // C function void glGetInteger64i_v ( GLenum target, GLuint index, GLint64 *data ) 1138 // 1139 // public void glGetInteger64i_v( 1140 // int target, 1141 // int index, 1142 // long[] data, 1143 // int offset 1144 // ); 1145 // 1146 // // C function void glGetInteger64i_v ( GLenum target, GLuint index, GLint64 *data ) 1147 // 1148 // public void glGetInteger64i_v( 1149 // int target, 1150 // int index, 1151 // java.nio.LongBuffer data 1152 // ); 1153 // 1154 // // C function void glGetBufferParameteri64v ( GLenum target, GLenum pname, GLint64 *params ) 1155 // 1156 // public void glGetBufferParameteri64v( 1157 // int target, 1158 // int pname, 1159 // long[] params, 1160 // int offset 1161 // ); 1162 1163 // C function void glGetBufferParameteri64v ( GLenum target, GLenum pname, GLint64 *params ) 1164 glGetBufferParameteri64v(int target, int pname, java.nio.LongBuffer params)1165 public void glGetBufferParameteri64v (int target, int pname, java.nio.LongBuffer params); 1166 1167 // C function void glGenSamplers ( GLsizei count, GLuint *samplers ) 1168 glGenSamplers(int count, int[] samplers, int offset)1169 public void glGenSamplers (int count, int[] samplers, int offset); 1170 1171 // C function void glGenSamplers ( GLsizei count, GLuint *samplers ) 1172 glGenSamplers(int count, java.nio.IntBuffer samplers)1173 public void glGenSamplers (int count, java.nio.IntBuffer samplers); 1174 1175 // C function void glDeleteSamplers ( GLsizei count, const GLuint *samplers ) 1176 glDeleteSamplers(int count, int[] samplers, int offset)1177 public void glDeleteSamplers (int count, int[] samplers, int offset); 1178 1179 // C function void glDeleteSamplers ( GLsizei count, const GLuint *samplers ) 1180 glDeleteSamplers(int count, java.nio.IntBuffer samplers)1181 public void glDeleteSamplers (int count, java.nio.IntBuffer samplers); 1182 1183 // C function GLboolean glIsSampler ( GLuint sampler ) 1184 glIsSampler(int sampler)1185 public boolean glIsSampler (int sampler); 1186 1187 // C function void glBindSampler ( GLuint unit, GLuint sampler ) 1188 glBindSampler(int unit, int sampler)1189 public void glBindSampler (int unit, int sampler); 1190 1191 // C function void glSamplerParameteri ( GLuint sampler, GLenum pname, GLint param ) 1192 glSamplerParameteri(int sampler, int pname, int param)1193 public void glSamplerParameteri (int sampler, int pname, int param); 1194 1195 // // C function void glSamplerParameteriv ( GLuint sampler, GLenum pname, const GLint *param ) 1196 // 1197 // public void glSamplerParameteriv( 1198 // int sampler, 1199 // int pname, 1200 // int[] param, 1201 // int offset 1202 // ); 1203 1204 // C function void glSamplerParameteriv ( GLuint sampler, GLenum pname, const GLint *param ) 1205 glSamplerParameteriv(int sampler, int pname, java.nio.IntBuffer param)1206 public void glSamplerParameteriv (int sampler, int pname, java.nio.IntBuffer param); 1207 1208 // C function void glSamplerParameterf ( GLuint sampler, GLenum pname, GLfloat param ) 1209 glSamplerParameterf(int sampler, int pname, float param)1210 public void glSamplerParameterf (int sampler, int pname, float param); 1211 1212 // // C function void glSamplerParameterfv ( GLuint sampler, GLenum pname, const GLfloat *param ) 1213 // 1214 // public void glSamplerParameterfv( 1215 // int sampler, 1216 // int pname, 1217 // float[] param, 1218 // int offset 1219 // ); 1220 1221 // C function void glSamplerParameterfv ( GLuint sampler, GLenum pname, const GLfloat *param ) 1222 glSamplerParameterfv(int sampler, int pname, java.nio.FloatBuffer param)1223 public void glSamplerParameterfv (int sampler, int pname, java.nio.FloatBuffer param); 1224 1225 // // C function void glGetSamplerParameteriv ( GLuint sampler, GLenum pname, GLint *params ) 1226 // 1227 // public void glGetSamplerParameteriv( 1228 // int sampler, 1229 // int pname, 1230 // int[] params, 1231 // int offset 1232 // ); 1233 1234 // C function void glGetSamplerParameteriv ( GLuint sampler, GLenum pname, GLint *params ) 1235 glGetSamplerParameteriv(int sampler, int pname, java.nio.IntBuffer params)1236 public void glGetSamplerParameteriv (int sampler, int pname, java.nio.IntBuffer params); 1237 1238 // // C function void glGetSamplerParameterfv ( GLuint sampler, GLenum pname, GLfloat *params ) 1239 // 1240 // public void glGetSamplerParameterfv( 1241 // int sampler, 1242 // int pname, 1243 // float[] params, 1244 // int offset 1245 // ); 1246 1247 // C function void glGetSamplerParameterfv ( GLuint sampler, GLenum pname, GLfloat *params ) 1248 glGetSamplerParameterfv(int sampler, int pname, java.nio.FloatBuffer params)1249 public void glGetSamplerParameterfv (int sampler, int pname, java.nio.FloatBuffer params); 1250 1251 // C function void glVertexAttribDivisor ( GLuint index, GLuint divisor ) 1252 glVertexAttribDivisor(int index, int divisor)1253 public void glVertexAttribDivisor (int index, int divisor); 1254 1255 // C function void glBindTransformFeedback ( GLenum target, GLuint id ) 1256 glBindTransformFeedback(int target, int id)1257 public void glBindTransformFeedback (int target, int id); 1258 1259 // C function void glDeleteTransformFeedbacks ( GLsizei n, const GLuint *ids ) 1260 glDeleteTransformFeedbacks(int n, int[] ids, int offset)1261 public void glDeleteTransformFeedbacks (int n, int[] ids, int offset); 1262 1263 // C function void glDeleteTransformFeedbacks ( GLsizei n, const GLuint *ids ) 1264 glDeleteTransformFeedbacks(int n, java.nio.IntBuffer ids)1265 public void glDeleteTransformFeedbacks (int n, java.nio.IntBuffer ids); 1266 1267 // C function void glGenTransformFeedbacks ( GLsizei n, GLuint *ids ) 1268 glGenTransformFeedbacks(int n, int[] ids, int offset)1269 public void glGenTransformFeedbacks (int n, int[] ids, int offset); 1270 1271 // C function void glGenTransformFeedbacks ( GLsizei n, GLuint *ids ) 1272 glGenTransformFeedbacks(int n, java.nio.IntBuffer ids)1273 public void glGenTransformFeedbacks (int n, java.nio.IntBuffer ids); 1274 1275 // C function GLboolean glIsTransformFeedback ( GLuint id ) 1276 glIsTransformFeedback(int id)1277 public boolean glIsTransformFeedback (int id); 1278 1279 // C function void glPauseTransformFeedback ( void ) 1280 glPauseTransformFeedback()1281 public void glPauseTransformFeedback (); 1282 1283 // C function void glResumeTransformFeedback ( void ) 1284 glResumeTransformFeedback()1285 public void glResumeTransformFeedback (); 1286 1287 // // C function void glGetProgramBinary ( GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary 1288 // ) 1289 // 1290 // public void glGetProgramBinary( 1291 // int program, 1292 // int bufSize, 1293 // int[] length, 1294 // int lengthOffset, 1295 // int[] binaryFormat, 1296 // int binaryFormatOffset, 1297 // java.nio.Buffer binary 1298 // ); 1299 // 1300 // // C function void glGetProgramBinary ( GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary 1301 // ) 1302 // 1303 // public void glGetProgramBinary( 1304 // int program, 1305 // int bufSize, 1306 // java.nio.IntBuffer length, 1307 // java.nio.IntBuffer binaryFormat, 1308 // java.nio.Buffer binary 1309 // ); 1310 // 1311 // // C function void glProgramBinary ( GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length ) 1312 // 1313 // public void glProgramBinary( 1314 // int program, 1315 // int binaryFormat, 1316 // java.nio.Buffer binary, 1317 // int length 1318 // ); 1319 1320 // C function void glProgramParameteri ( GLuint program, GLenum pname, GLint value ) 1321 glProgramParameteri(int program, int pname, int value)1322 public void glProgramParameteri (int program, int pname, int value); 1323 1324 // // C function void glInvalidateFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments ) 1325 // 1326 // public void glInvalidateFramebuffer( 1327 // int target, 1328 // int numAttachments, 1329 // int[] attachments, 1330 // int offset 1331 // ); 1332 1333 // C function void glInvalidateFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments ) 1334 glInvalidateFramebuffer(int target, int numAttachments, java.nio.IntBuffer attachments)1335 public void glInvalidateFramebuffer (int target, int numAttachments, java.nio.IntBuffer attachments); 1336 1337 // // C function void glInvalidateSubFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, 1338 // GLint y, GLsizei width, GLsizei height ) 1339 // 1340 // public void glInvalidateSubFramebuffer( 1341 // int target, 1342 // int numAttachments, 1343 // int[] attachments, 1344 // int offset, 1345 // int x, 1346 // int y, 1347 // int width, 1348 // int height 1349 // ); 1350 1351 // C function void glInvalidateSubFramebuffer ( GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, 1352 // GLint y, GLsizei width, GLsizei height ) 1353 glInvalidateSubFramebuffer(int target, int numAttachments, java.nio.IntBuffer attachments, int x, int y, int width, int height)1354 public void glInvalidateSubFramebuffer (int target, int numAttachments, java.nio.IntBuffer attachments, int x, int y, 1355 int width, int height); 1356 1357 // // C function void glTexStorage2D ( GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height ) 1358 // 1359 // public void glTexStorage2D( 1360 // int target, 1361 // int levels, 1362 // int internalformat, 1363 // int width, 1364 // int height 1365 // ); 1366 // 1367 // // C function void glTexStorage3D ( GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, 1368 // GLsizei depth ) 1369 // 1370 // public void glTexStorage3D( 1371 // int target, 1372 // int levels, 1373 // int internalformat, 1374 // int width, 1375 // int height, 1376 // int depth 1377 // ); 1378 // 1379 // // C function void glGetInternalformativ ( GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params ) 1380 // 1381 // public void glGetInternalformativ( 1382 // int target, 1383 // int internalformat, 1384 // int pname, 1385 // int bufSize, 1386 // int[] params, 1387 // int offset 1388 // ); 1389 // 1390 // // C function void glGetInternalformativ ( GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params ) 1391 // 1392 // public void glGetInternalformativ( 1393 // int target, 1394 // int internalformat, 1395 // int pname, 1396 // int bufSize, 1397 // java.nio.IntBuffer params 1398 // ); 1399 1400 @Override 1401 @Deprecated 1402 /** 1403 * In OpenGl core profiles (3.1+), passing a pointer to client memory is not valid. 1404 * Use the other version of this function instead, pass a zero-based offset which references 1405 * the buffer currently bound to GL_ARRAY_BUFFER. 1406 */ glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, Buffer ptr)1407 void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, Buffer ptr); 1408 } 1409