drawIndirect method

void drawIndirect(
  1. GPUBuffer indirectBuffer,
  2. GPUSize64 indirectOffset
)

The drawIndirect() method of the GPURenderBundleEncoder interface draws primitives using parameters read from a GPUBuffer.

Note

This method is functionally identical to its equivalent on GPURenderPassEncoderGPURenderPassEncoder.drawIndirect.

Implementation

external void drawIndirect(
  GPUBuffer indirectBuffer,
  GPUSize64 indirectOffset,
);