gpuKnowsTransientAttachments function
Whether this browser's GPUTextureUsage has TRANSIENT_ATTACHMENT.
A property of the API rather than a feature the adapter grants, so it is asked of the namespace object: a browser that predates the flag rejects a texture that names it, and one that has it lists it there.
Implementation
bool gpuKnowsTransientAttachments() {
final usage = globalContext.getProperty<JSObject?>('GPUTextureUsage'.toJS);
return usage != null && usage.has('TRANSIENT_ATTACHMENT');
}