hdrOutputFormats property

  1. @override
List<TextureFormat> get hdrOutputFormats

rgba16float on a display the browser says has a high dynamic range — R9 — asked once, when the device is made. A frame in it is presented through a canvas configured for extended tone mapping; see copyToCanvas.

Implementation

@override
List<TextureFormat> get hdrOutputFormats => _hdrDisplay
    ? const <TextureFormat>[TextureFormat.r16g16b16a16Float]
    : const <TextureFormat>[];