WebGpuFramePresenter constructor
const
WebGpuFramePresenter({
- Key? key,
- required WebGpuDevice device,
- required TextureHandle frame,
- BoxFit fit = BoxFit.fill,
- FilterQuality quality = FilterQuality.none,
A presenter of frame on device, stretched to fill with
nearest-neighbour scaling unless told otherwise.
Implementation
const WebGpuFramePresenter({
super.key,
required this.device,
required this.frame,
this.fit = BoxFit.fill,
this.quality = FilterQuality.none,
});