synchronousReadback constant

DeviceFeature const synchronousReadback

GraphicsDevice.readBufferSync: a buffer read back in the calling turn, stalling until the GPU is done with it. WebGL2's getBufferSubData; WebGPU has no such call by design.

Implementation

static const synchronousReadback = DeviceFeature._(
  'synchronous-readback',
  FeatureStability.stable,
);