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

      • glMultiDrawArraysEXT

        public static void glMultiDrawArraysEXT(int mode,
                                                java.nio.IntBuffer first,
                                                java.nio.IntBuffer count)
      • 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