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_render::view
3struct ColorGrading {
4 balance: mat3x3<f32>,
5 saturation: vec3<f32>,
6 contrast: vec3<f32>,
7 gamma: vec3<f32>,
8 gain: vec3<f32>,
9 lift: vec3<f32>,
10 midtone_range: vec2<f32>,
11 exposure: f32,
12 hue: f32,
13 post_saturation: f32,
16struct View {
17 clip_from_world: mat4x4<f32>,
18 unjittered_clip_from_world: mat4x4<f32>,
19 world_from_clip: mat4x4<f32>,
20 world_from_view: mat4x4<f32>,
21 view_from_world: mat4x4<f32>,
22 clip_from_view: mat4x4<f32>,
23 view_from_clip: mat4x4<f32>,
24 world_position: vec3<f32>,
25 exposure: f32,
26 // viewport(x_origin, y_origin, width, height)
27 viewport: vec4<f32>,
28 frustum: array<vec4<f32>, 6>,
29 color_grading: ColorGrading,
30 mip_bias: f32,
31};
Contents