Package org.lwjgl.vulkan
Class AMDDrawIndirectCount
- java.lang.Object
-
- org.lwjgl.vulkan.AMDDrawIndirectCount
-
public class AMDDrawIndirectCount extends java.lang.ObjectThis extension allows an application to source the number of draw calls for indirect draw calls from a buffer. This enables applications to generate arbitrary amounts of draw commands and execute them without host intervention.Promotion to VK_KHR_draw_indirect_count
All functionality in this extension is included in VK_KHR_draw_indirect_count, with the suffix changed to KHR. The original type, enum and command names are still available as aliases of the core functionality.
- Name String
VK_AMD_draw_indirect_count- Extension Type
- Device extension
- Registered Extension Number
- 34
- Revision
- 2
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Deprecation state
- Promoted to VK_KHR_draw_indirect_count extension
- Contact
- Daniel Rakos drakos-amd
- Last Modified Date
- 2016-08-23
- IP Status
- No known IP claims.
- Contributors
- Matthaeus G. Chajdas, AMD
- Derrick Owens, AMD
- Graham Sellers, AMD
- Daniel Rakos, AMD
- Dominik Witczak, AMD
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringVK_AMD_DRAW_INDIRECT_COUNT_EXTENSION_NAMEThe extension name.static intVK_AMD_DRAW_INDIRECT_COUNT_SPEC_VERSIONThe extension specification version.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidvkCmdDrawIndexedIndirectCountAMD(VkCommandBuffer commandBuffer, long buffer, long offset, long countBuffer, long countBufferOffset, int maxDrawCount, int stride)static voidvkCmdDrawIndirectCountAMD(VkCommandBuffer commandBuffer, long buffer, long offset, long countBuffer, long countBufferOffset, int maxDrawCount, int stride)
-
-
-
Field Detail
-
VK_AMD_DRAW_INDIRECT_COUNT_SPEC_VERSION
public static final int VK_AMD_DRAW_INDIRECT_COUNT_SPEC_VERSION
The extension specification version.- See Also:
- Constant Field Values
-
VK_AMD_DRAW_INDIRECT_COUNT_EXTENSION_NAME
public static final java.lang.String VK_AMD_DRAW_INDIRECT_COUNT_EXTENSION_NAME
The extension name.- See Also:
- Constant Field Values
-
-
Method Detail
-
vkCmdDrawIndirectCountAMD
public static void vkCmdDrawIndirectCountAMD(VkCommandBuffer commandBuffer, long buffer, long offset, long countBuffer, long countBufferOffset, int maxDrawCount, int stride)
- Parameters:
commandBuffer- the command buffer into which the command is recorded.buffer- the buffer containing draw parameters.offset- the byte offset intobufferwhere parameters begin.countBuffer- the buffer containing the draw count.countBufferOffset- the byte offset intocountBufferwhere the draw count begins.maxDrawCount- specifies the maximum number of draws that will be executed. The actual number of executed draw calls is the minimum of the count specified incountBufferandmaxDrawCount.stride- the byte stride between successive sets of draw parameters.
-
vkCmdDrawIndexedIndirectCountAMD
public static void vkCmdDrawIndexedIndirectCountAMD(VkCommandBuffer commandBuffer, long buffer, long offset, long countBuffer, long countBufferOffset, int maxDrawCount, int stride)
- Parameters:
commandBuffer- the command buffer into which the command is recorded.buffer- the buffer containing draw parameters.offset- the byte offset intobufferwhere parameters begin.countBuffer- the buffer containing the draw count.countBufferOffset- the byte offset intocountBufferwhere the draw count begins.maxDrawCount- specifies the maximum number of draws that will be executed. The actual number of executed draw calls is the minimum of the count specified incountBufferandmaxDrawCount.stride- the byte stride between successive sets of draw parameters.
-
-