textureFormatSupport method

  1. @override
TextureFormatSupport textureFormatSupport(
  1. TextureFormat format
)
override

What format can be used for here: sampled, filtered, rendered, blended, multisampled, resolved, used as depth, bound as storage.

A format this device cannot allocate at all answers TextureFormatSupport.none.

Implementation

@override
TextureFormatSupport textureFormatSupport(TextureFormat format) =>
    unsupportedFormats.contains(format)
    ? TextureFormatSupport.none
    : const TextureFormatSupport(
        sampled: true,
        filterable: true,
        renderable: true,
        blendable: true,
        multisample: true,
        resolve: true,
        depthStencil: true,
      );