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