pub fn submit_indirect_count(
    id: ViewId,
    program: &Program,
    indirect_handle: &IndirectBuffer,
    start: u16,
    num_handle: &IndexBuffer,
    params: SubmitIndirectCountArgs
)
Expand description
  • id: View id.
  • program: Program.
  • indirect_handle: Indirect buffer.
  • start: First element in indirect buffer.
  • num_handle: Buffer for number of draws. Must be created with [BufferFlags::INDEX32] and BufferFlags::DRAW_INDIRECT.
  • num_index: Element in number buffer.
  • num_max: Max number of draws.
  • depth: Depth for sorting.
  • flags: Which states to discard for next draw. See DiscardFlags.