Search across packages, versions, files, declarations, and comments. Use multiple terms to narrow results (AND), and add @vertex, @fragment, or @compute to filter by shader stage.
1#define_import_path bevy_water::water_bindings
3struct WaterMaterial {
4 deep_color: vec4<f32>,
5 shallow_color: vec4<f32>,
6 edge_color: vec4<f32>,
7 coord_offset: vec2<f32>,
8 coord_scale: vec2<f32>,
9 amplitude: f32,
10 clarity: f32,
11 edge_scale: f32,
12};
14@group(2) @binding(100)
15var<uniform> material: WaterMaterial;
Contents