defaultColorFormat property

  1. @override
TextureFormat get defaultColorFormat

The colour format this device prefers.

A property of the running context and not a constant: the answer differs by platform, which is the whole point of asking.

Implementation

@override
TextureFormat get defaultColorFormat => TextureFormat.r8g8b8a8UNormInt;