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#define_import_path bevy_ui::ui_vertex_output
3// The Vertex output of the default vertex shader for the Ui Material pipeline.
4struct UiVertexOutput {
5 @location(0) uv: vec2<f32>,
6 // The size of the borders in UV space. Order is Left, Right, Top, Bottom.
7 @location(1) border_widths: vec4<f32>,
8 // The size of the borders in pixels. Order is top left, top right, bottom right, bottom left.
9 @location(2) border_radius: vec4<f32>,
10 // The size of the node in pixels. Order is width, height.
11 @location(3) @interpolate(flat) size: vec2<f32>,
12 @builtin(position) position: vec4<f32>,
13};
Contents