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_mod_outline::common
3struct OutlineViewUniform {
4 @align(16)
5 clip_from_world: mat4x4<f32>,
6 world_from_view_a: mat2x4<f32>,
7 world_from_view_b: f32,
8 aspect: f32,
9 scale_clip_from_logical: vec2<f32>,
10 scale_physical_from_logical: f32,
11};
13struct VertexOutput {
14 @builtin(position) position: vec4<f32>,
15#ifdef FLAT_DEPTH
16 @location(0) @interpolate(flat) flat_depth: f32,
17#endif
18#ifdef VOLUME
19 @location(1) @interpolate(flat) volume_colour: vec4<f32>,
20#endif
21#ifdef ALPHA_MASK_TEXTURE
22 @location(2) @interpolate(flat) alpha_mask_threshold: f32,
23 @location(3) uv: vec2<f32>,
24#endif
25};
Contents