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