multiDrawIndirect method

void multiDrawIndirect(
  1. StorageBuffer arguments,
  2. int drawCount, {
  3. int offsetInBytes = 0,
  4. StorageBuffer? countBuffer,
  5. int countOffsetInBytes = 0,
})

drawCount indirect indexed draws read from arguments, twenty bytes each from offsetInBytes — DeviceFeature.multiDrawIndirect. When countBuffer is given, the number actually drawn is the 32-bit value it holds at countOffsetInBytes, at most drawCount: a culling compute pass decides how many survive and nothing reads the number back.

Implementation

void multiDrawIndirect(
  StorageBuffer arguments,
  int drawCount, {
  int offsetInBytes = 0,
  StorageBuffer? countBuffer,
  int countOffsetInBytes = 0,
}) => refuseByDefault(this, DeviceFeature.multiDrawIndirect);