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_pbr::forward_io::VertexOutput
3struct PushConstants {
4 color: vec4<f32>
5}
7var<push_constant> push_constants: PushConstants;
9@fragment
10fn fragment(in: VertexOutput) -> @location(0) vec4<f32> {
11 return push_constants.color;
Contents