Advanced search tips: use spaces to require multiple terms (AND), | for alternatives (OR), wrap phrases in quotes (="a b"), =term for exact match, 'term to include, !term to exclude, ^term to match prefix, !^term to exclude prefix, .ext$ to match suffix, and !.ext$ to exclude suffix.

view.wgsl

Import path

Structures

ColorGrading

#
struct ColorGrading {
balance: mat3x3<f32> ,
saturation: vec3<f32> ,
contrast: vec3<f32> ,
gamma: vec3<f32> ,
gain: vec3<f32> ,
lift: vec3<f32> ,
midtone_range: vec2<f32> ,
exposure: f32 ,
hue: f32 ,
post_saturation: f32 ,
}

View

#
struct View {
clip_from_world: mat4x4<f32> ,
unjittered_clip_from_world: mat4x4<f32> ,
world_from_clip: mat4x4<f32> ,
world_from_view: mat4x4<f32> ,
view_from_world: mat4x4<f32> ,
clip_from_view: mat4x4<f32> ,
view_from_clip: mat4x4<f32> ,
world_position: vec3<f32> ,
exposure: f32 ,
viewport: vec4<f32> ,
color_grading: ColorGrading ,
mip_bias: f32 ,
frame_count: u32 ,
}