setPolygonMode method
Refused for PolygonMode.line. WebGPU has no polygon fill mode, so this
is the answer supportsWireframe being false already promised: a
wireframe here means line primitives and an index buffer built for them,
which is the renderer's decision and not a substitution a backend may make.
Implementation
@override
void setPolygonMode(PolygonMode mode) {
if (mode == PolygonMode.fill) return;
throw UnsupportedError(
'WebGPU cannot draw PolygonMode.line: there is no polygon fill mode in '
'the API',
);
}