multiDrawIndirect method
void
multiDrawIndirect(
- StorageBuffer arguments,
- int drawCount, {
- int offsetInBytes = 0,
- StorageBuffer? countBuffer,
- 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);