shaderReadable property

bool get shaderReadable

Whether this resource cannot carry image content (transient tile memory or non-shader-readable).

Implementation

bool get shaderReadable =>
    isTexture &&
    storageMode != gpu.StorageMode.deviceTransient &&
    !snapshotFailed;