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 Detail

      • glDrawArraysInstancedEXT

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

        public static void nglDrawElementsInstancedEXT​(int mode,
                                                       int count,
                                                       int type,
                                                       long indices,
                                                       int primcount)
      • glDrawElementsInstancedEXT

        public static void glDrawElementsInstancedEXT​(int mode,
                                                      int count,
                                                      int type,
                                                      long indices,
                                                      int primcount)
      • glDrawElementsInstancedEXT

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

        public static void glDrawElementsInstancedEXT​(int mode,
                                                      java.nio.ByteBuffer indices,
                                                      int primcount)
      • glDrawElementsInstancedEXT

        public static void glDrawElementsInstancedEXT​(int mode,
                                                      java.nio.ShortBuffer indices,
                                                      int primcount)
      • glDrawElementsInstancedEXT

        public static void glDrawElementsInstancedEXT​(int mode,
                                                      java.nio.IntBuffer indices,
                                                      int primcount)