Cargo Features
[dependencies]
bevy_water = { version = "0.13.0", default-features = false, features = ["embed_shaders", "file_watcher", "inspector", "debug", "atmosphere", "panorbit", "depth_prepass", "webgl2", "webgpu"] }
- default = depth_prepass, embed_shaders, webgl2
-
These default features are set whenever
bevy_water
is added without
somewhere in the dependency tree.default-features = false - embed_shaders default
-
Embed the shaders at compile-time.
- file_watcher
-
file/embed watcher
Enables embedded_watcher and file_watcher of bevy
- inspector
-
Enable inspector in examples.
- debug
-
Enable debug lines in examples.
- atmosphere
-
Enable bevy_atmosphere support in the examples.
- panorbit
-
Enable bevy_panorbit_camera support in the examples.
- depth_prepass default
-
Enable DepthPrepass in examples.
- webgl2 default
-
Select WebGL2 or WebGPU support.
Use webgl2 for native builds (non-wasm). - webgpu