Package org.lwjgl.opengl
Class NVBindlessMultiDrawIndirectCount
java.lang.Object
org.lwjgl.opengl.NVBindlessMultiDrawIndirectCount
Native bindings to the NV_bindless_multi_draw_indirect_count extension.
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
.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
glMultiDrawArraysIndirectBindlessCountNV
(int mode, long indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount) Behaves similarly toMultiDrawArraysIndirectBindlessNV
, except thatdrawCount
defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER_ARB binding point at which a singlesizei
typed value is stored, which contains the draw count.static void
glMultiDrawArraysIndirectBindlessCountNV
(int mode, ByteBuffer indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount) Behaves similarly toMultiDrawArraysIndirectBindlessNV
, except thatdrawCount
defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER_ARB binding point at which a singlesizei
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 toMultiDrawElementsIndirectBindlessNV
, except thatdrawCount
defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER_ARB binding point at which a singlesizei
typed value is stored, which contains the draw count.static void
glMultiDrawElementsIndirectBindlessCountNV
(int mode, int type, ByteBuffer indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount) Behaves similarly toMultiDrawElementsIndirectBindlessNV
, except thatdrawCount
defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER_ARB binding point at which a singlesizei
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
-
Method Details
-
nglMultiDrawArraysIndirectBindlessCountNV
public static void nglMultiDrawArraysIndirectBindlessCountNV(int mode, long indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount) Unsafe version of:MultiDrawArraysIndirectBindlessCountNV
-
glMultiDrawArraysIndirectBindlessCountNV
public static void glMultiDrawArraysIndirectBindlessCountNV(int mode, ByteBuffer indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount) Behaves similarly toMultiDrawArraysIndirectBindlessNV
, except thatdrawCount
defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER_ARB binding point at which a singlesizei
typed value is stored, which contains the draw count. If the value stored atdrawCount
into the buffer is greater thanmaxDrawCount
, an implementation may stop processing draws aftermaxDrawCount
parameter sets.- Parameters:
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 structure
-
glMultiDrawArraysIndirectBindlessCountNV
public static void glMultiDrawArraysIndirectBindlessCountNV(int mode, long indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount) Behaves similarly toMultiDrawArraysIndirectBindlessNV
, except thatdrawCount
defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER_ARB binding point at which a singlesizei
typed value is stored, which contains the draw count. If the value stored atdrawCount
into the buffer is greater thanmaxDrawCount
, an implementation may stop processing draws aftermaxDrawCount
parameter sets.- Parameters:
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 structure
-
nglMultiDrawElementsIndirectBindlessCountNV
public static void nglMultiDrawElementsIndirectBindlessCountNV(int mode, int type, long indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount) Unsafe version of:MultiDrawElementsIndirectBindlessCountNV
-
glMultiDrawElementsIndirectBindlessCountNV
public static void glMultiDrawElementsIndirectBindlessCountNV(int mode, int type, ByteBuffer indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount) Behaves similarly toMultiDrawElementsIndirectBindlessNV
, except thatdrawCount
defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER_ARB binding point at which a singlesizei
typed value is stored, which contains the draw count. If the value stored atdrawCount
into the buffer is greater thanmaxDrawCount
, an implementation may stop processing draws aftermaxDrawCount
parameter sets.- Parameters:
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 structure
-
glMultiDrawElementsIndirectBindlessCountNV
public static void glMultiDrawElementsIndirectBindlessCountNV(int mode, int type, long indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount) Behaves similarly toMultiDrawElementsIndirectBindlessNV
, except thatdrawCount
defines an offset (in bytes) into the buffer object bound to the PARAMETER_BUFFER_ARB binding point at which a singlesizei
typed value is stored, which contains the draw count. If the value stored atdrawCount
into the buffer is greater thanmaxDrawCount
, an implementation may stop processing draws aftermaxDrawCount
parameter sets.- Parameters:
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 structure
-