bevy_core_pipeline::dof

Function prepare_auxiliary_depth_of_field_textures

Source
pub fn prepare_auxiliary_depth_of_field_textures(
    commands: Commands<'_, '_>,
    render_device: Res<'_, RenderDevice>,
    texture_cache: ResMut<'_, TextureCache>,
    view_targets: Query<'_, '_, (Entity, &ViewTarget, &DepthOfField)>,
)
Expand description

Creates the second render target texture that the first pass of the bokeh effect needs.