Top Description Constructors Methods
org.lwjgl.opengl

public Class NVBindlessMultiDrawIndirectCount

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

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.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
glMultiDrawArraysIndirectBindlessCountNV(int mode, ByteBuffer
an array of DrawArraysIndirectBindlessCommandNV structures (see the extension spec for more information)
indirect
,
long
the byte offset into the buffer object containing the draw count. This offset must be a multiple of 4
drawCount
,
int
the maximum number of draws that are expected to be stored in the buffer
maxDrawCount
,
int
the size of one DrawArraysIndirectBindlessCommandNV structure
stride
,
int
the number of vertex buffers in the DrawArraysIndirectBindlessCommandNV structure
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.

public static void
glMultiDrawArraysIndirectBindlessCountNV(int mode, long
an array of DrawArraysIndirectBindlessCommandNV structures (see the extension spec for more information)
indirect
,
long
the byte offset into the buffer object containing the draw count. This offset must be a multiple of 4
drawCount
,
int
the maximum number of draws that are expected to be stored in the buffer
maxDrawCount
,
int
the size of one DrawArraysIndirectBindlessCommandNV structure
stride
,
int
the number of vertex buffers in the DrawArraysIndirectBindlessCommandNV structure
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.

public static void
glMultiDrawElementsIndirectBindlessCountNV(int mode, int
the data type of the element indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
type
,
ByteBuffer
an array of DrawElementsIndirectBindlessCommandNV structures (see the extension spec for more information)
indirect
,
long
the byte offset into the buffer object containing the draw count. This offset must be a multiple of 4
drawCount
,
int
the maximum number of draws that are expected to be stored in the buffer
maxDrawCount
,
int
the size of one DrawElementsIndirectBindlessCommandNV structure
stride
,
int
the number of vertex buffers in the DrawElementsIndirectBindlessCommandNV structure
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.

public static void
glMultiDrawElementsIndirectBindlessCountNV(int mode, int
the data type of the element indices. One of:
UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
type
,
long
an array of DrawElementsIndirectBindlessCommandNV structures (see the extension spec for more information)
indirect
,
long
the byte offset into the buffer object containing the draw count. This offset must be a multiple of 4
drawCount
,
int
the maximum number of draws that are expected to be stored in the buffer
maxDrawCount
,
int
the size of one DrawElementsIndirectBindlessCommandNV structure
stride
,
int
the number of vertex buffers in the DrawElementsIndirectBindlessCommandNV structure
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.

public static native void
nglMultiDrawArraysIndirectBindlessCountNV(int mode, long indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount)

Unsafe version of: MultiDrawArraysIndirectBindlessCountNV

public static native void
nglMultiDrawElementsIndirectBindlessCountNV(int mode, int type, long indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount)

Unsafe version of: MultiDrawElementsIndirectBindlessCountNV

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

NVBindlessMultiDrawIndirectCountback to summary
protected NVBindlessMultiDrawIndirectCount()

Method Detail

glMultiDrawArraysIndirectBindlessCountNVback to summary
public static void glMultiDrawArraysIndirectBindlessCountNV(int mode, 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:int

the primitive mode. One of:

POINTSLINE_STRIPLINE_LOOPLINESTRIANGLE_STRIPTRIANGLE_FANTRIANGLES
LINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESPOLYGONQUADS
QUAD_STRIP
indirect:ByteBuffer

an array of DrawArraysIndirectBindlessCommandNV structures (see the extension spec for more information)

drawCount:long

the byte offset into the buffer object containing the draw count. This offset must be a multiple of 4

maxDrawCount:int

the maximum number of draws that are expected to be stored in the buffer

stride:int

the size of one DrawArraysIndirectBindlessCommandNV structure

vertexBufferCount:int

the number of vertex buffers in the DrawArraysIndirectBindlessCommandNV structure

glMultiDrawArraysIndirectBindlessCountNVback to summary
public 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. 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:int

the primitive mode. One of:

POINTSLINE_STRIPLINE_LOOPLINESTRIANGLE_STRIPTRIANGLE_FANTRIANGLES
LINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESPOLYGONQUADS
QUAD_STRIP
indirect:long

an array of DrawArraysIndirectBindlessCommandNV structures (see the extension spec for more information)

drawCount:long

the byte offset into the buffer object containing the draw count. This offset must be a multiple of 4

maxDrawCount:int

the maximum number of draws that are expected to be stored in the buffer

stride:int

the size of one DrawArraysIndirectBindlessCommandNV structure

vertexBufferCount:int

the number of vertex buffers in the DrawArraysIndirectBindlessCommandNV structure

glMultiDrawElementsIndirectBindlessCountNVback to summary
public static void glMultiDrawElementsIndirectBindlessCountNV(int mode, int type, 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:int

the primitive mode. One of:

POINTSLINE_STRIPLINE_LOOPLINESTRIANGLE_STRIPTRIANGLE_FANTRIANGLES
LINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESPOLYGONQUADS
QUAD_STRIP
type:int

the data type of the element indices. One of:

UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
indirect:ByteBuffer

an array of DrawElementsIndirectBindlessCommandNV structures (see the extension spec for more information)

drawCount:long

the byte offset into the buffer object containing the draw count. This offset must be a multiple of 4

maxDrawCount:int

the maximum number of draws that are expected to be stored in the buffer

stride:int

the size of one DrawElementsIndirectBindlessCommandNV structure

vertexBufferCount:int

the number of vertex buffers in the DrawElementsIndirectBindlessCommandNV structure

glMultiDrawElementsIndirectBindlessCountNVback to summary
public 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. 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:int

the primitive mode. One of:

POINTSLINE_STRIPLINE_LOOPLINESTRIANGLE_STRIPTRIANGLE_FANTRIANGLES
LINES_ADJACENCYLINE_STRIP_ADJACENCYTRIANGLES_ADJACENCYTRIANGLE_STRIP_ADJACENCYPATCHESPOLYGONQUADS
QUAD_STRIP
type:int

the data type of the element indices. One of:

UNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INT
indirect:long

an array of DrawElementsIndirectBindlessCommandNV structures (see the extension spec for more information)

drawCount:long

the byte offset into the buffer object containing the draw count. This offset must be a multiple of 4

maxDrawCount:int

the maximum number of draws that are expected to be stored in the buffer

stride:int

the size of one DrawElementsIndirectBindlessCommandNV structure

vertexBufferCount:int

the number of vertex buffers in the DrawElementsIndirectBindlessCommandNV structure

nglMultiDrawArraysIndirectBindlessCountNVback to summary
public static native void nglMultiDrawArraysIndirectBindlessCountNV(int mode, long indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount)

Unsafe version of: MultiDrawArraysIndirectBindlessCountNV

nglMultiDrawElementsIndirectBindlessCountNVback to summary
public static native void nglMultiDrawElementsIndirectBindlessCountNV(int mode, int type, long indirect, long drawCount, int maxDrawCount, int stride, int vertexBufferCount)

Unsafe version of: MultiDrawElementsIndirectBindlessCountNV