beginComputePass method

ComputeEncoder beginComputePass({
  1. String? label,
  2. PassTimestampWrites? timestampWrites,
})
inherited

Opens a compute pass; label names it to a debugger and to onGpuTimings. timestampWrites (since 1.0) names where the pass writes its start and end GPU times — DeviceFeature.timestampQuery.

Implementation

ComputeEncoder beginComputePass({
  String? label,
  PassTimestampWrites? timestampWrites,
}) => throw refuse(DeviceFeature.compute);