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.

Bindings

material

#
@group(#{MATERIAL_BIND_GROUP})
@binding(100)
var<uniform> material: WaterMaterial

Structures

WaterMaterial

#
struct WaterMaterial {
deep_color: vec4<f32>,
shallow_color: vec4<f32>,
edge_color: vec4<f32>,
coord_offset: vec2<f32>,
coord_scale: vec2<f32>,
amplitude: f32,
clarity: f32,
edge_scale: f32,
}
Contents