Class EXTDrawInstanced



  • public class EXTDrawInstanced
    extends java.lang.Object
    Native bindings to the EXT_draw_instanced extension.

    This extension provides the means to render multiple instances of an object with a single draw call, and an "instance ID" variable which can be used by the vertex program to compute per-instance values, typically an object's transform.

    Requires OpenGL 2.0.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void glDrawArraysInstancedEXT(int mode, int start, int count, int primcount) 
      static void glDrawElementsInstancedEXT(int mode, int count, int type, java.nio.ByteBuffer indices, int primcount) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • glDrawArraysInstancedEXT

        public static void glDrawArraysInstancedEXT(int mode,
                                                    int start,
                                                    int count,
                                                    int primcount)
      • glDrawElementsInstancedEXT

        public static void glDrawElementsInstancedEXT(int mode,
                                                      int count,
                                                      int type,
                                                      java.nio.ByteBuffer indices,
                                                      int primcount)