I'm in the process of migrating some code from UIKit to SwiftUI and I ran into an issue where displayGamut (e.g. sRGB vs. Display P3) does not appear to be available in the @Environment of SwiftUI. In UIKit you can get this from UITraitCollection.
Is there a way to get this natively in SwiftUI? If not, is there a way I can plumb this down into SwiftUI from the UIKit layer it's embedded in?