Class NVBindlessMultiDrawIndirectCount

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void glMultiDrawArraysIndirectBindlessCountNV(int mode, java.nio.ByteBuffer indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount)
      Behaves similarly to MultiDrawArraysIndirectBindlessNV, except that drawCount defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER_ARB binding point at which a single sizei typed value is stored, which contains the draw count.
      static void glMultiDrawElementsIndirectBindlessCountNV(int mode, int type, java.nio.ByteBuffer indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount)
      Behaves similarly to MultiDrawElementsIndirectBindlessNV, except that drawCount defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER_ARB binding point at which a single sizei typed value is stored, which contains the draw count.
      • Methods inherited from class java.lang.Object

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

      • glMultiDrawArraysIndirectBindlessCountNV

        public static void glMultiDrawArraysIndirectBindlessCountNV(int mode,
                                                                    java.nio.ByteBuffer indirect,
                                                                    long drawCount,
                                                                    int maxDrawCount,
                                                                    int stride,
                                                                    int vertexBufferCount)
        Behaves similarly to MultiDrawArraysIndirectBindlessNV, except that drawCount defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER_ARB binding point at which a single sizei typed value is stored, which contains the draw count. If the value stored at drawCount into the buffer is greater than maxDrawCount, an implementation may stop processing draws after maxDrawCount parameter sets.
        Parameters:
        mode - the primitive mode. One of:
        POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FAN
        TRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCY
        PATCHES
        indirect - an array of DrawArraysIndirectBindlessCommandNV structures (see the extension spec for more information)
        drawCount - the byte offset into the buffer object containing the draw count. This offset must be a multiple of 4
        maxDrawCount - the maximum number of draws that are expected to be stored in the buffer
        stride - the size of one DrawArraysIndirectBindlessCommandNV structure
        vertexBufferCount - the number of vertex buffers in the DrawArraysIndirectBindlessCommandNV structure
      • glMultiDrawElementsIndirectBindlessCountNV

        public static void glMultiDrawElementsIndirectBindlessCountNV(int mode,
                                                                      int type,
                                                                      java.nio.ByteBuffer indirect,
                                                                      long drawCount,
                                                                      int maxDrawCount,
                                                                      int stride,
                                                                      int vertexBufferCount)
        Behaves similarly to MultiDrawElementsIndirectBindlessNV, except that drawCount defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER_ARB binding point at which a single sizei typed value is stored, which contains the draw count. If the value stored at drawCount into the buffer is greater than maxDrawCount, an implementation may stop processing draws after maxDrawCount parameter sets.
        Parameters:
        mode - the primitive mode. One of:
        POINTSLINE_STRIPLINE_LOOPLINESPOLYGONTRIANGLE_STRIPTRIANGLE_FAN
        TRIANGLESQUAD_STRIPQUADSLINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCY
        PATCHES
        type - the data type of the element indices. One of:
        UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
        indirect - an array of DrawElementsIndirectBindlessCommandNV structures (see the extension spec for more information)
        drawCount - the byte offset into the buffer object containing the draw count. This offset must be a multiple of 4
        maxDrawCount - the maximum number of draws that are expected to be stored in the buffer
        stride - the size of one DrawElementsIndirectBindlessCommandNV structure
        vertexBufferCount - the number of vertex buffers in the DrawElementsIndirectBindlessCommandNV structure