Class EXTMultiDrawArrays


  • public class EXTMultiDrawArrays
    extends java.lang.Object
    Native bindings to the EXT_multi_draw_arrays extension.

    These functions behave identically to the standard OpenGL 1.1 functions glDrawArrays() and glDrawElements() except they handle multiple lists of vertices in one call. Their main purpose is to allow one function call to render more than one primitive such as triangle strip, triangle fan, etc.

    • Method Detail

      • nglMultiDrawArraysEXT

        public static void nglMultiDrawArraysEXT​(int mode,
                                                 long first,
                                                 long count,
                                                 int primcount)
      • glMultiDrawArraysEXT

        public static void glMultiDrawArraysEXT​(int mode,
                                                java.nio.IntBuffer first,
                                                java.nio.IntBuffer count)
      • nglMultiDrawElementsEXT

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

        public static void glMultiDrawElementsEXT​(int mode,
                                                  java.nio.IntBuffer count,
                                                  int type,
                                                  PointerBuffer indices)
      • glMultiDrawArraysEXT

        public static void glMultiDrawArraysEXT​(int mode,
                                                int[] first,
                                                int[] count)
        Array version of: MultiDrawArraysEXT
      • glMultiDrawElementsEXT

        public static void glMultiDrawElementsEXT​(int mode,
                                                  int[] count,
                                                  int type,
                                                  PointerBuffer indices)
        Array version of: MultiDrawElementsEXT