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 node in pixels. Order is width, height.
9 @location(2) @interpolate(flat) size: vec2<f32>,
10 @builtin(position) position: vec4<f32>,
11};
Contents