beginTransferPass method

  1. @override
TransferEncoder beginTransferPass({
  1. String? label,
})

Opens a pass of copies between buffers and textures. Never refused — each copy is gated by its own feature. See TransferEncoder. By default a pass whose every copy refuses by its feature, and whose submit has nothing to send.

Implementation

@override
TransferEncoder beginTransferPass({String? label}) => WebGpuTransferEncoder(
  _gpuDevice,
  features: features,
  guard: _guard,
  label: label,
);