resolveTexture method

  1. @override
void resolveTexture(
  1. TextureCopyLocation source,
  2. TextureCopyLocation destination
)
override

Resolves the multisampled source into the single-sample destination of the same size and format — the explicit form of a pass's ColorTarget.resolveTexture, for a target several passes drew into. DeviceFeature.offscreenMultisample. WebGL2's blitFramebuffer; WebGPU does it with an empty pass that resolves.

Implementation

@override
void resolveTexture(
  TextureCopyLocation source,
  TextureCopyLocation destination,
) => _gated(DeviceFeature.offscreenMultisample, 'resolveTexture', (
  source: source,
  destination: destination,
));