It could be convenient if most of the structs for enum-like constants, such as EnvironmentBlendMode implemented Hash.
While experimenting, I initially went to put the supported blend modes in a HashSet with the intention to check (on-the-fly) if an app was able to switch between opaque vs pass-through rendering. Easy enough to workaround but still it could be convenient.
It could be convenient if most of the structs for enum-like constants, such as
EnvironmentBlendMode
implementedHash
.While experimenting, I initially went to put the supported blend modes in a
HashSet
with the intention to check (on-the-fly) if an app was able to switch between opaque vs pass-through rendering. Easy enough to workaround but still it could be convenient.