GLES11.java revision c086ca1fa7cebc3e9a51abd4be4688346225c2e4
1/* 2 * Copyright (C) 2009 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17// This source file is automatically generated 18 19package android.opengl; 20 21import java.nio.Buffer; 22 23public class GLES11 extends GLES10 { 24 public static final int GL_ACTIVE_TEXTURE = 0x84E0; 25 public static final int GL_ADD_SIGNED = 0x8574; 26 public static final int GL_ALPHA_SCALE = 0x0D1C; 27 public static final int GL_ALPHA_TEST_FUNC = 0x0BC1; 28 public static final int GL_ALPHA_TEST_REF = 0x0BC2; 29 public static final int GL_ARRAY_BUFFER = 0x8892; 30 public static final int GL_ARRAY_BUFFER_BINDING = 0x8894; 31 public static final int GL_BLEND_DST = 0x0BE0; 32 public static final int GL_BLEND_SRC = 0x0BE1; 33 public static final int GL_BUFFER_ACCESS = 0x88BB; 34 public static final int GL_BUFFER_SIZE = 0x8764; 35 public static final int GL_BUFFER_USAGE = 0x8765; 36 public static final int GL_CLIENT_ACTIVE_TEXTURE = 0x84E1; 37 public static final int GL_CLIP_PLANE0 = 0x3000; 38 public static final int GL_CLIP_PLANE1 = 0x3001; 39 public static final int GL_CLIP_PLANE2 = 0x3002; 40 public static final int GL_CLIP_PLANE3 = 0x3003; 41 public static final int GL_CLIP_PLANE4 = 0x3004; 42 public static final int GL_CLIP_PLANE5 = 0x3005; 43 public static final int GL_COLOR_ARRAY_BUFFER_BINDING = 0x8898; 44 public static final int GL_COLOR_ARRAY_POINTER = 0x8090; 45 public static final int GL_COLOR_ARRAY_SIZE = 0x8081; 46 public static final int GL_COLOR_ARRAY_STRIDE = 0x8083; 47 public static final int GL_COLOR_ARRAY_TYPE = 0x8082; 48 public static final int GL_COLOR_CLEAR_VALUE = 0x0C22; 49 public static final int GL_COLOR_WRITEMASK = 0x0C23; 50 public static final int GL_COMBINE = 0x8570; 51 public static final int GL_COMBINE_ALPHA = 0x8572; 52 public static final int GL_COMBINE_RGB = 0x8571; 53 public static final int GL_CONSTANT = 0x8576; 54 public static final int GL_COORD_REPLACE_OES = 0x8862; 55 public static final int GL_CULL_FACE_MODE = 0x0B45; 56 public static final int GL_CURRENT_COLOR = 0x0B00; 57 public static final int GL_CURRENT_NORMAL = 0x0B02; 58 public static final int GL_CURRENT_TEXTURE_COORDS = 0x0B03; 59 public static final int GL_DEPTH_CLEAR_VALUE = 0x0B73; 60 public static final int GL_DEPTH_FUNC = 0x0B74; 61 public static final int GL_DEPTH_RANGE = 0x0B70; 62 public static final int GL_DEPTH_WRITEMASK = 0x0B72; 63 public static final int GL_DOT3_RGB = 0x86AE; 64 public static final int GL_DOT3_RGBA = 0x86AF; 65 public static final int GL_DYNAMIC_DRAW = 0x88E8; 66 public static final int GL_ELEMENT_ARRAY_BUFFER = 0x8893; 67 public static final int GL_ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; 68 public static final int GL_FRONT_FACE = 0x0B46; 69 public static final int GL_GENERATE_MIPMAP = 0x8191; 70 public static final int GL_GENERATE_MIPMAP_HINT = 0x8192; 71 public static final int GL_INTERPOLATE = 0x8575; 72 public static final int GL_LINE_WIDTH = 0x0B21; 73 public static final int GL_LOGIC_OP_MODE = 0x0BF0; 74 public static final int GL_MATRIX_MODE = 0x0BA0; 75 public static final int GL_MAX_CLIP_PLANES = 0x0D32; 76 public static final int GL_MODELVIEW_MATRIX = 0x0BA6; 77 public static final int GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898D; 78 public static final int GL_MODELVIEW_STACK_DEPTH = 0x0BA3; 79 public static final int GL_NORMAL_ARRAY_BUFFER_BINDING = 0x8897; 80 public static final int GL_NORMAL_ARRAY_POINTER = 0x808F; 81 public static final int GL_NORMAL_ARRAY_STRIDE = 0x807F; 82 public static final int GL_NORMAL_ARRAY_TYPE = 0x807E; 83 public static final int GL_OPERAND0_ALPHA = 0x8598; 84 public static final int GL_OPERAND0_RGB = 0x8590; 85 public static final int GL_OPERAND1_ALPHA = 0x8599; 86 public static final int GL_OPERAND1_RGB = 0x8591; 87 public static final int GL_OPERAND2_ALPHA = 0x859A; 88 public static final int GL_OPERAND2_RGB = 0x8592; 89 public static final int GL_POINT_DISTANCE_ATTENUATION = 0x8129; 90 public static final int GL_POINT_FADE_THRESHOLD_SIZE = 0x8128; 91 public static final int GL_POINT_SIZE = 0x0B11; 92 public static final int GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES = 0x8B9F; 93 public static final int GL_POINT_SIZE_ARRAY_OES = 0x8B9C; 94 public static final int GL_POINT_SIZE_ARRAY_POINTER_OES = 0x898C; 95 public static final int GL_POINT_SIZE_ARRAY_STRIDE_OES = 0x898B; 96 public static final int GL_POINT_SIZE_ARRAY_TYPE_OES = 0x898A; 97 public static final int GL_POINT_SIZE_MAX = 0x8127; 98 public static final int GL_POINT_SIZE_MIN = 0x8126; 99 public static final int GL_POINT_SPRITE_OES = 0x8861; 100 public static final int GL_POLYGON_OFFSET_FACTOR = 0x8038; 101 public static final int GL_POLYGON_OFFSET_UNITS = 0x2A00; 102 public static final int GL_PREVIOUS = 0x8578; 103 public static final int GL_PRIMARY_COLOR = 0x8577; 104 public static final int GL_PROJECTION_MATRIX = 0x0BA7; 105 public static final int GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898E; 106 public static final int GL_PROJECTION_STACK_DEPTH = 0x0BA4; 107 public static final int GL_RGB_SCALE = 0x8573; 108 public static final int GL_SAMPLE_BUFFERS = 0x80A8; 109 public static final int GL_SAMPLE_COVERAGE_INVERT = 0x80AB; 110 public static final int GL_SAMPLE_COVERAGE_VALUE = 0x80AA; 111 public static final int GL_SAMPLES = 0x80A9; 112 public static final int GL_SCISSOR_BOX = 0x0C10; 113 public static final int GL_SHADE_MODEL = 0x0B54; 114 public static final int GL_SRC0_ALPHA = 0x8588; 115 public static final int GL_SRC0_RGB = 0x8580; 116 public static final int GL_SRC1_ALPHA = 0x8589; 117 public static final int GL_SRC1_RGB = 0x8581; 118 public static final int GL_SRC2_ALPHA = 0x858A; 119 public static final int GL_SRC2_RGB = 0x8582; 120 public static final int GL_STATIC_DRAW = 0x88E4; 121 public static final int GL_STENCIL_CLEAR_VALUE = 0x0B91; 122 public static final int GL_STENCIL_FAIL = 0x0B94; 123 public static final int GL_STENCIL_FUNC = 0x0B92; 124 public static final int GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95; 125 public static final int GL_STENCIL_PASS_DEPTH_PASS = 0x0B96; 126 public static final int GL_STENCIL_REF = 0x0B97; 127 public static final int GL_STENCIL_VALUE_MASK = 0x0B93; 128 public static final int GL_STENCIL_WRITEMASK = 0x0B98; 129 public static final int GL_SUBTRACT = 0x84E7; 130 public static final int GL_TEXTURE_BINDING_2D = 0x8069; 131 public static final int GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING = 0x889A; 132 public static final int GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092; 133 public static final int GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088; 134 public static final int GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A; 135 public static final int GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089; 136 public static final int GL_TEXTURE_MATRIX = 0x0BA8; 137 public static final int GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES = 0x898F; 138 public static final int GL_TEXTURE_STACK_DEPTH = 0x0BA5; 139 public static final int GL_VERTEX_ARRAY_BUFFER_BINDING = 0x8896; 140 public static final int GL_VERTEX_ARRAY_POINTER = 0x808E; 141 public static final int GL_VERTEX_ARRAY_SIZE = 0x807A; 142 public static final int GL_VERTEX_ARRAY_STRIDE = 0x807C; 143 public static final int GL_VERTEX_ARRAY_TYPE = 0x807B; 144 public static final int GL_VIEWPORT = 0x0BA2; 145 public static final int GL_WRITE_ONLY = 0x88B9; 146 147 native private static void _nativeClassInit(); 148 static { 149 _nativeClassInit(); 150 } 151 152 private static Buffer _pointSizePointerOES; 153 // C function void glBindBuffer ( GLenum target, GLuint buffer ) 154 155 public static native void glBindBuffer( 156 int target, 157 int buffer 158 ); 159 160 // C function void glBufferData ( GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage ) 161 162 public static native void glBufferData( 163 int target, 164 int size, 165 java.nio.Buffer data, 166 int usage 167 ); 168 169 // C function void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data ) 170 171 public static native void glBufferSubData( 172 int target, 173 int offset, 174 int size, 175 java.nio.Buffer data 176 ); 177 178 // C function void glClipPlanef ( GLenum plane, const GLfloat *equation ) 179 180 public static native void glClipPlanef( 181 int plane, 182 float[] equation, 183 int offset 184 ); 185 186 // C function void glClipPlanef ( GLenum plane, const GLfloat *equation ) 187 188 public static native void glClipPlanef( 189 int plane, 190 java.nio.FloatBuffer equation 191 ); 192 193 // C function void glClipPlanex ( GLenum plane, const GLfixed *equation ) 194 195 public static native void glClipPlanex( 196 int plane, 197 int[] equation, 198 int offset 199 ); 200 201 // C function void glClipPlanex ( GLenum plane, const GLfixed *equation ) 202 203 public static native void glClipPlanex( 204 int plane, 205 java.nio.IntBuffer equation 206 ); 207 208 // C function void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) 209 210 public static native void glColor4ub( 211 byte red, 212 byte green, 213 byte blue, 214 byte alpha 215 ); 216 217 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 218 219 public static native void glColorPointer( 220 int size, 221 int type, 222 int stride, 223 int offset 224 ); 225 226 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) 227 228 public static native void glDeleteBuffers( 229 int n, 230 int[] buffers, 231 int offset 232 ); 233 234 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) 235 236 public static native void glDeleteBuffers( 237 int n, 238 java.nio.IntBuffer buffers 239 ); 240 241 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) 242 243 public static native void glDrawElements( 244 int mode, 245 int count, 246 int type, 247 int offset 248 ); 249 250 // C function void glGenBuffers ( GLsizei n, GLuint *buffers ) 251 252 public static native void glGenBuffers( 253 int n, 254 int[] buffers, 255 int offset 256 ); 257 258 // C function void glGenBuffers ( GLsizei n, GLuint *buffers ) 259 260 public static native void glGenBuffers( 261 int n, 262 java.nio.IntBuffer buffers 263 ); 264 265 // C function void glGetBooleanv ( GLenum pname, GLboolean *params ) 266 267 public static native void glGetBooleanv( 268 int pname, 269 boolean[] params, 270 int offset 271 ); 272 273 // C function void glGetBooleanv ( GLenum pname, GLboolean *params ) 274 275 public static native void glGetBooleanv( 276 int pname, 277 java.nio.IntBuffer params 278 ); 279 280 // C function void glGetBufferParameteriv ( GLenum target, GLenum pname, GLint *params ) 281 282 public static native void glGetBufferParameteriv( 283 int target, 284 int pname, 285 int[] params, 286 int offset 287 ); 288 289 // C function void glGetBufferParameteriv ( GLenum target, GLenum pname, GLint *params ) 290 291 public static native void glGetBufferParameteriv( 292 int target, 293 int pname, 294 java.nio.IntBuffer params 295 ); 296 297 // C function void glGetClipPlanef ( GLenum pname, GLfloat *eqn ) 298 299 public static native void glGetClipPlanef( 300 int pname, 301 float[] eqn, 302 int offset 303 ); 304 305 // C function void glGetClipPlanef ( GLenum pname, GLfloat *eqn ) 306 307 public static native void glGetClipPlanef( 308 int pname, 309 java.nio.FloatBuffer eqn 310 ); 311 312 // C function void glGetClipPlanex ( GLenum pname, GLfixed *eqn ) 313 314 public static native void glGetClipPlanex( 315 int pname, 316 int[] eqn, 317 int offset 318 ); 319 320 // C function void glGetClipPlanex ( GLenum pname, GLfixed *eqn ) 321 322 public static native void glGetClipPlanex( 323 int pname, 324 java.nio.IntBuffer eqn 325 ); 326 327 // C function void glGetFixedv ( GLenum pname, GLfixed *params ) 328 329 public static native void glGetFixedv( 330 int pname, 331 int[] params, 332 int offset 333 ); 334 335 // C function void glGetFixedv ( GLenum pname, GLfixed *params ) 336 337 public static native void glGetFixedv( 338 int pname, 339 java.nio.IntBuffer params 340 ); 341 342 // C function void glGetFloatv ( GLenum pname, GLfloat *params ) 343 344 public static native void glGetFloatv( 345 int pname, 346 float[] params, 347 int offset 348 ); 349 350 // C function void glGetFloatv ( GLenum pname, GLfloat *params ) 351 352 public static native void glGetFloatv( 353 int pname, 354 java.nio.FloatBuffer params 355 ); 356 357 // C function void glGetLightfv ( GLenum light, GLenum pname, GLfloat *params ) 358 359 public static native void glGetLightfv( 360 int light, 361 int pname, 362 float[] params, 363 int offset 364 ); 365 366 // C function void glGetLightfv ( GLenum light, GLenum pname, GLfloat *params ) 367 368 public static native void glGetLightfv( 369 int light, 370 int pname, 371 java.nio.FloatBuffer params 372 ); 373 374 // C function void glGetLightxv ( GLenum light, GLenum pname, GLfixed *params ) 375 376 public static native void glGetLightxv( 377 int light, 378 int pname, 379 int[] params, 380 int offset 381 ); 382 383 // C function void glGetLightxv ( GLenum light, GLenum pname, GLfixed *params ) 384 385 public static native void glGetLightxv( 386 int light, 387 int pname, 388 java.nio.IntBuffer params 389 ); 390 391 // C function void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params ) 392 393 public static native void glGetMaterialfv( 394 int face, 395 int pname, 396 float[] params, 397 int offset 398 ); 399 400 // C function void glGetMaterialfv ( GLenum face, GLenum pname, GLfloat *params ) 401 402 public static native void glGetMaterialfv( 403 int face, 404 int pname, 405 java.nio.FloatBuffer params 406 ); 407 408 // C function void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params ) 409 410 public static native void glGetMaterialxv( 411 int face, 412 int pname, 413 int[] params, 414 int offset 415 ); 416 417 // C function void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params ) 418 419 public static native void glGetMaterialxv( 420 int face, 421 int pname, 422 java.nio.IntBuffer params 423 ); 424 425 // C function void glGetTexEnvfv ( GLenum env, GLenum pname, GLfloat *params ) 426 427 public static native void glGetTexEnvfv( 428 int env, 429 int pname, 430 float[] params, 431 int offset 432 ); 433 434 // C function void glGetTexEnvfv ( GLenum env, GLenum pname, GLfloat *params ) 435 436 public static native void glGetTexEnvfv( 437 int env, 438 int pname, 439 java.nio.FloatBuffer params 440 ); 441 442 // C function void glGetTexEnviv ( GLenum env, GLenum pname, GLint *params ) 443 444 public static native void glGetTexEnviv( 445 int env, 446 int pname, 447 int[] params, 448 int offset 449 ); 450 451 // C function void glGetTexEnviv ( GLenum env, GLenum pname, GLint *params ) 452 453 public static native void glGetTexEnviv( 454 int env, 455 int pname, 456 java.nio.IntBuffer params 457 ); 458 459 // C function void glGetTexEnvxv ( GLenum env, GLenum pname, GLfixed *params ) 460 461 public static native void glGetTexEnvxv( 462 int env, 463 int pname, 464 int[] params, 465 int offset 466 ); 467 468 // C function void glGetTexEnvxv ( GLenum env, GLenum pname, GLfixed *params ) 469 470 public static native void glGetTexEnvxv( 471 int env, 472 int pname, 473 java.nio.IntBuffer params 474 ); 475 476 // C function void glGetTexParameterfv ( GLenum target, GLenum pname, GLfloat *params ) 477 478 public static native void glGetTexParameterfv( 479 int target, 480 int pname, 481 float[] params, 482 int offset 483 ); 484 485 // C function void glGetTexParameterfv ( GLenum target, GLenum pname, GLfloat *params ) 486 487 public static native void glGetTexParameterfv( 488 int target, 489 int pname, 490 java.nio.FloatBuffer params 491 ); 492 493 // C function void glGetTexParameteriv ( GLenum target, GLenum pname, GLint *params ) 494 495 public static native void glGetTexParameteriv( 496 int target, 497 int pname, 498 int[] params, 499 int offset 500 ); 501 502 // C function void glGetTexParameteriv ( GLenum target, GLenum pname, GLint *params ) 503 504 public static native void glGetTexParameteriv( 505 int target, 506 int pname, 507 java.nio.IntBuffer params 508 ); 509 510 // C function void glGetTexParameterxv ( GLenum target, GLenum pname, GLfixed *params ) 511 512 public static native void glGetTexParameterxv( 513 int target, 514 int pname, 515 int[] params, 516 int offset 517 ); 518 519 // C function void glGetTexParameterxv ( GLenum target, GLenum pname, GLfixed *params ) 520 521 public static native void glGetTexParameterxv( 522 int target, 523 int pname, 524 java.nio.IntBuffer params 525 ); 526 527 // C function GLboolean glIsBuffer ( GLuint buffer ) 528 529 public static native boolean glIsBuffer( 530 int buffer 531 ); 532 533 // C function GLboolean glIsEnabled ( GLenum cap ) 534 535 public static native boolean glIsEnabled( 536 int cap 537 ); 538 539 // C function GLboolean glIsTexture ( GLuint texture ) 540 541 public static native boolean glIsTexture( 542 int texture 543 ); 544 545 // C function void glNormalPointer ( GLenum type, GLsizei stride, GLint offset ) 546 547 public static native void glNormalPointer( 548 int type, 549 int stride, 550 int offset 551 ); 552 553 // C function void glPointParameterf ( GLenum pname, GLfloat param ) 554 555 public static native void glPointParameterf( 556 int pname, 557 float param 558 ); 559 560 // C function void glPointParameterfv ( GLenum pname, const GLfloat *params ) 561 562 public static native void glPointParameterfv( 563 int pname, 564 float[] params, 565 int offset 566 ); 567 568 // C function void glPointParameterfv ( GLenum pname, const GLfloat *params ) 569 570 public static native void glPointParameterfv( 571 int pname, 572 java.nio.FloatBuffer params 573 ); 574 575 // C function void glPointParameterx ( GLenum pname, GLfixed param ) 576 577 public static native void glPointParameterx( 578 int pname, 579 int param 580 ); 581 582 // C function void glPointParameterxv ( GLenum pname, const GLfixed *params ) 583 584 public static native void glPointParameterxv( 585 int pname, 586 int[] params, 587 int offset 588 ); 589 590 // C function void glPointParameterxv ( GLenum pname, const GLfixed *params ) 591 592 public static native void glPointParameterxv( 593 int pname, 594 java.nio.IntBuffer params 595 ); 596 597 // C function void glPointSizePointerOES ( GLenum type, GLsizei stride, const GLvoid *pointer ) 598 599 private static native void glPointSizePointerOESBounds( 600 int type, 601 int stride, 602 java.nio.Buffer pointer, 603 int remaining 604 ); 605 606 public static void glPointSizePointerOES( 607 int type, 608 int stride, 609 java.nio.Buffer pointer 610 ) { 611 glPointSizePointerOESBounds( 612 type, 613 stride, 614 pointer, 615 pointer.remaining() 616 ); 617 if (((type == GL_FLOAT) || 618 (type == GL_FIXED)) && 619 (stride >= 0)) { 620 _pointSizePointerOES = pointer; 621 } 622 } 623 624 // C function void glTexCoordPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 625 626 public static native void glTexCoordPointer( 627 int size, 628 int type, 629 int stride, 630 int offset 631 ); 632 633 // C function void glTexEnvi ( GLenum target, GLenum pname, GLint param ) 634 635 public static native void glTexEnvi( 636 int target, 637 int pname, 638 int param 639 ); 640 641 // C function void glTexEnviv ( GLenum target, GLenum pname, const GLint *params ) 642 643 public static native void glTexEnviv( 644 int target, 645 int pname, 646 int[] params, 647 int offset 648 ); 649 650 // C function void glTexEnviv ( GLenum target, GLenum pname, const GLint *params ) 651 652 public static native void glTexEnviv( 653 int target, 654 int pname, 655 java.nio.IntBuffer params 656 ); 657 658 // C function void glTexParameterfv ( GLenum target, GLenum pname, const GLfloat *params ) 659 660 public static native void glTexParameterfv( 661 int target, 662 int pname, 663 float[] params, 664 int offset 665 ); 666 667 // C function void glTexParameterfv ( GLenum target, GLenum pname, const GLfloat *params ) 668 669 public static native void glTexParameterfv( 670 int target, 671 int pname, 672 java.nio.FloatBuffer params 673 ); 674 675 // C function void glTexParameteri ( GLenum target, GLenum pname, GLint param ) 676 677 public static native void glTexParameteri( 678 int target, 679 int pname, 680 int param 681 ); 682 683 // C function void glTexParameteriv ( GLenum target, GLenum pname, const GLint *params ) 684 685 public static native void glTexParameteriv( 686 int target, 687 int pname, 688 int[] params, 689 int offset 690 ); 691 692 // C function void glTexParameteriv ( GLenum target, GLenum pname, const GLint *params ) 693 694 public static native void glTexParameteriv( 695 int target, 696 int pname, 697 java.nio.IntBuffer params 698 ); 699 700 // C function void glTexParameterxv ( GLenum target, GLenum pname, const GLfixed *params ) 701 702 public static native void glTexParameterxv( 703 int target, 704 int pname, 705 int[] params, 706 int offset 707 ); 708 709 // C function void glTexParameterxv ( GLenum target, GLenum pname, const GLfixed *params ) 710 711 public static native void glTexParameterxv( 712 int target, 713 int pname, 714 java.nio.IntBuffer params 715 ); 716 717 // C function void glVertexPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 718 719 public static native void glVertexPointer( 720 int size, 721 int type, 722 int stride, 723 int offset 724 ); 725 726} 727