vulkan-3.0.0.0: Bindings to the Vulkan graphics API.

Safe HaskellNone
LanguageHaskell2010

Graphics.Vulkan.Core12.Promoted_From_VK_KHR_draw_indirect_count

Synopsis

Documentation

cmdDrawIndirectCount :: CommandBuffer -> Buffer -> ("offset" ::: DeviceSize) -> ("countBuffer" ::: Buffer) -> ("countBufferOffset" ::: DeviceSize) -> ("maxDrawCount" ::: Word32) -> ("stride" ::: Word32) -> IO () Source #

vkCmdDrawIndirectCount - Perform an indirect draw with the draw count sourced from a buffer

Parameters

  • CommandBuffer is the command buffer into which the command is recorded.
  • Buffer is the buffer containing draw parameters.
  • offset is the byte offset into Buffer where parameters begin.
  • countBuffer is the buffer containing the draw count.
  • countBufferOffset is the byte offset into countBuffer where 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 in countBuffer and maxDrawCount.
  • stride is the byte stride between successive sets of draw parameters.

Description

cmdDrawIndirectCount behaves similarly to cmdDrawIndirect except that the draw count is read by the device from a buffer during execution. The command will read an unsigned 32-bit integer from countBuffer located at countBufferOffset and use this as the draw count.

Valid Usage

Valid Usage (Implicit)

Host Synchronization

Command Properties

'

Command Buffer Levels Render Pass Scope Supported Queue Types Pipeline Type
Primary Secondary Inside Graphics Graphics

See Also

Buffer, CommandBuffer, DeviceSize

cmdDrawIndexedIndirectCount :: CommandBuffer -> Buffer -> ("offset" ::: DeviceSize) -> ("countBuffer" ::: Buffer) -> ("countBufferOffset" ::: DeviceSize) -> ("maxDrawCount" ::: Word32) -> ("stride" ::: Word32) -> IO () Source #

vkCmdDrawIndexedIndirectCount - Perform an indexed indirect draw with the draw count sourced from a buffer

Parameters

  • CommandBuffer is the command buffer into which the command is recorded.
  • Buffer is the buffer containing draw parameters.
  • offset is the byte offset into Buffer where parameters begin.
  • countBuffer is the buffer containing the draw count.
  • countBufferOffset is the byte offset into countBuffer where 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 in countBuffer and maxDrawCount.
  • stride is the byte stride between successive sets of draw parameters.

Description

cmdDrawIndexedIndirectCount behaves similarly to cmdDrawIndexedIndirect except that the draw count is read by the device from a buffer during execution. The command will read an unsigned 32-bit integer from countBuffer located at countBufferOffset and use this as the draw count.

Valid Usage

Valid Usage (Implicit)

Host Synchronization

Command Properties

'

Command Buffer Levels Render Pass Scope Supported Queue Types Pipeline Type
Primary Secondary Inside Graphics Graphics

See Also

Buffer, CommandBuffer, DeviceSize