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_enoki::particle_vertex_out::{ VertexOutput }
3@group(1) @binding(0) var<uniform> color: vec4<f32>;
5@fragment
6fn fragment(in: VertexOutput) -> @location(0) vec4<f32> {
7 return in.color * color;
8}
Contents