public class NVBindlessMultiDrawIndirectCount
extends java.lang.Object
This extension adds the possibility to define the number of drawcalls within a multi-draw-indirect call from the GPU, as provided by
ARB_indirect_parameters, for the functions added in NV_bindless_multi_draw_indirect.
Requires NV_bindless_multi_draw_indirect, ARB_indirect_parameters.
| 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 |
glMultiDrawArraysIndirectBindlessCountNV(int mode,
long 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. |
static void |
glMultiDrawElementsIndirectBindlessCountNV(int mode,
int type,
long 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. |
static void |
nglMultiDrawArraysIndirectBindlessCountNV(int mode,
long indirect,
long drawCount,
int maxDrawCount,
int stride,
int vertexBufferCount)
Unsafe version of:
MultiDrawArraysIndirectBindlessCountNV |
static void |
nglMultiDrawElementsIndirectBindlessCountNV(int mode,
int type,
long indirect,
long drawCount,
int maxDrawCount,
int stride,
int vertexBufferCount)
Unsafe version of:
MultiDrawElementsIndirectBindlessCountNV |
public static void nglMultiDrawArraysIndirectBindlessCountNV(int mode,
long indirect,
long drawCount,
int maxDrawCount,
int stride,
int vertexBufferCount)
MultiDrawArraysIndirectBindlessCountNVpublic static void glMultiDrawArraysIndirectBindlessCountNV(int mode,
java.nio.ByteBuffer indirect,
long drawCount,
int maxDrawCount,
int stride,
int vertexBufferCount)
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.mode - the primitive mode. One of:POINTS | LINE_STRIP | LINE_LOOP | LINES | TRIANGLE_STRIP | TRIANGLE_FAN | TRIANGLES |
LINES_ADJACENCY | LINE_STRIP_ADJACENCY | TRIANGLES_ADJACENCY | TRIANGLE_STRIP_ADJACENCY | PATCHES | POLYGON | QUADS |
QUAD_STRIP |
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 4maxDrawCount - the maximum number of draws that are expected to be stored in the bufferstride - the size of one DrawArraysIndirectBindlessCommandNV structurevertexBufferCount - the number of vertex buffers in the DrawArraysIndirectBindlessCommandNV structurepublic static void glMultiDrawArraysIndirectBindlessCountNV(int mode,
long indirect,
long drawCount,
int maxDrawCount,
int stride,
int vertexBufferCount)
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.mode - the primitive mode. One of:POINTS | LINE_STRIP | LINE_LOOP | LINES | TRIANGLE_STRIP | TRIANGLE_FAN | TRIANGLES |
LINES_ADJACENCY | LINE_STRIP_ADJACENCY | TRIANGLES_ADJACENCY | TRIANGLE_STRIP_ADJACENCY | PATCHES | POLYGON | QUADS |
QUAD_STRIP |
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 4maxDrawCount - the maximum number of draws that are expected to be stored in the bufferstride - the size of one DrawArraysIndirectBindlessCommandNV structurevertexBufferCount - the number of vertex buffers in the DrawArraysIndirectBindlessCommandNV structurepublic static void nglMultiDrawElementsIndirectBindlessCountNV(int mode,
int type,
long indirect,
long drawCount,
int maxDrawCount,
int stride,
int vertexBufferCount)
MultiDrawElementsIndirectBindlessCountNVpublic static void glMultiDrawElementsIndirectBindlessCountNV(int mode,
int type,
java.nio.ByteBuffer indirect,
long drawCount,
int maxDrawCount,
int stride,
int vertexBufferCount)
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.mode - the primitive mode. One of:POINTS | LINE_STRIP | LINE_LOOP | LINES | TRIANGLE_STRIP | TRIANGLE_FAN | TRIANGLES |
LINES_ADJACENCY | LINE_STRIP_ADJACENCY | TRIANGLES_ADJACENCY | TRIANGLE_STRIP_ADJACENCY | PATCHES | POLYGON | QUADS |
QUAD_STRIP |
type - the data type of the element indices. One of:UNSIGNED_BYTE | UNSIGNED_SHORT | UNSIGNED_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 4maxDrawCount - the maximum number of draws that are expected to be stored in the bufferstride - the size of one DrawElementsIndirectBindlessCommandNV structurevertexBufferCount - the number of vertex buffers in the DrawElementsIndirectBindlessCommandNV structurepublic static void glMultiDrawElementsIndirectBindlessCountNV(int mode,
int type,
long indirect,
long drawCount,
int maxDrawCount,
int stride,
int vertexBufferCount)
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.mode - the primitive mode. One of:POINTS | LINE_STRIP | LINE_LOOP | LINES | TRIANGLE_STRIP | TRIANGLE_FAN | TRIANGLES |
LINES_ADJACENCY | LINE_STRIP_ADJACENCY | TRIANGLES_ADJACENCY | TRIANGLE_STRIP_ADJACENCY | PATCHES | POLYGON | QUADS |
QUAD_STRIP |
type - the data type of the element indices. One of:UNSIGNED_BYTE | UNSIGNED_SHORT | UNSIGNED_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 4maxDrawCount - the maximum number of draws that are expected to be stored in the bufferstride - the size of one DrawElementsIndirectBindlessCommandNV structurevertexBufferCount - the number of vertex buffers in the DrawElementsIndirectBindlessCommandNV structureCopyright LWJGL. All Rights Reserved. License terms.