multiDrawIndirect method
void
multiDrawIndirect(
- StorageBuffer arguments,
- int drawCount, {
- int offsetInBytes = 0,
- StorageBuffer? countBuffer,
- int countOffsetInBytes = 0,
override
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
@override
void multiDrawIndirect(
StorageBuffer arguments,
int drawCount, {
int offsetInBytes = 0,
StorageBuffer? countBuffer,
int countOffsetInBytes = 0,
}) => _gated(DeviceFeature.multiDrawIndirect, 'multiDrawIndirect', (
arguments: arguments,
drawCount: drawCount,
offsetInBytes: offsetInBytes,
countBuffer: countBuffer,
countOffsetInBytes: countOffsetInBytes,
));