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.

Bindings

source_texture

#
Used by 1 shader in bevy_post_process 0.19.1
@group(0)
@binding(0)
var source_texture: texture_2d<f32>

common_sampler

#
@group(0)
@binding(1)
var common_sampler: sampler

chromatic_aberration_lut_texture

#
@group(0)
@binding(2)
var chromatic_aberration_lut_texture: texture_2d<f32>

chromatic_aberration_settings

#
@group(0)
@binding(3)
var<uniform> chromatic_aberration_settings: ChromaticAberrationSettings

Structures

ChromaticAberrationSettings

#

See bevy_post_process::effect_stack::ChromaticAberration for more information on these fields.

struct ChromaticAberrationSettings {
intensity: f32,
max_samples: u32,
unused_a: u32,
unused_b: u32,
}

Functions

chromatic_aberration

#
Used by 1 shader in bevy_post_process 0.19.1
fn chromatic_aberration (
start_pos: vec2<f32>
) -> vec3<f32>
Contents