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#import bevy_sprite::mesh2d_vertex_output::VertexOutput
3struct WireframeMaterial {
4 color: vec4<f32>,
5};
7@group(2) @binding(0) var<uniform> material: WireframeMaterial;
8@fragment
9fn fragment(in: VertexOutput) -> @location(0) vec4<f32> {
10 return material.color;
Contents