readPixels method

  1. @override
Future<ByteData?> readPixels(
  1. TextureHandle texture
)
override

Null, which is a legitimate answer rather than a refusal: it is what a real device says about a texture whose pixels cannot be read.

Implementation

@override
Future<ByteData?> readPixels(TextureHandle texture) =>
    Future<ByteData?>.value();