features property
GPUSupportedFeatures
get
features
What this adapter can do beyond the guaranteed baseline.
The only honest source of an answer about compressed formats. BC, ETC2
and ASTC are optional features in WebGPU: the format strings exist in the
specification and a device that did not ask for the feature refuses every
one of them. So GraphicsDevice.supportsTextureFormat cannot be answered
from a translation table alone — it has to ask this set, and the device
has to have requested the feature before it can be used.
Implementation
external GPUSupportedFeatures get features;