Readonly
wgslRequests an adapter from the user agent. The user agent chooses whether to return an adapter, and, if so, chooses according to the provided options.
Optional
options: GPURequestAdapterOptionsCriteria used to select the adapter.
Generated using TypeDoc
Returns an optimal GPUTextureFormat for displaying 8-bit depth, standard dynamic range content on this system. Must only return GPUTextureFormat
"rgba8unorm"
or GPUTextureFormat"bgra8unorm"
. The returned value can be passed as the format to configure calls on a GPUCanvasContext to ensure the associated canvas is able to display its contents efficiently. Note: Canvases which are not displayed to the screen may or may not benefit from using this format.