pub fn submit_indirect(
    id: ViewId,
    program: &Program,
    indirect_handle: &IndirectBuffer,
    params: SubmitIndirectArgs
)
Expand description
  • id: View id.
  • program: Program.
  • indirect_handle: Indirect buffer.
  • start: First element in indirect buffer.
  • num: Number of draws.
  • depth: Depth for sorting.
  • flags: Which states to discard for next draw. See DiscardFlags.