Window / Clear ColorBack to examples View in GitHub
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.
Support for WebGPU in Bevy hasn't been released yet, this example has been compiled using the main branch.
//! Shows how to set the solid color that is used to paint the window before the frame gets drawn. //! //! Acts as background color, since pixels that are not drawn in a frame remain unchanged. use *;