Support WarningWebGPU is currently only supported on Chrome starting with version 113, and only on desktop. If they don't work on your configuration, you can check the WebGL2 examples here.
//! This example illustrates how to resize windows, and how to respond to a window being resized. use ; /// Marker component for the text that displays the current resolution. ; /// Stores the various window-resolutions we can select between. // Spawns the camera that draws UI // Spawns the UI /// This system shows how to request the window to a new resolution /// This system shows how to respond to a window being resized. /// Whenever the window is resized, the text will update with the new resolution.