#import bevy_render::view::View #import bevy_ui::ui_vertex_output::UiVertexOutput @group(0) @binding(0) var view: View; @vertex fn vertex( @location(0) vertex_position: vec3, @location(1) vertex_uv: vec2, @location(2) border_widths: vec4, ) -> UiVertexOutput { var out: UiVertexOutput; out.uv = vertex_uv; out.position = view.view_proj * vec4(vertex_position, 1.0); out.border_widths = border_widths; return out; } @fragment fn fragment(in: UiVertexOutput) -> @location(0) vec4 { return vec4(1.0); }