bevy_render::view

Function prepare_view_targets

Source
pub fn prepare_view_targets(
    commands: Commands<'_, '_>,
    clear_color_global: Res<'_, ClearColor>,
    render_device: Res<'_, RenderDevice>,
    texture_cache: ResMut<'_, TextureCache>,
    cameras: Query<'_, '_, (Entity, &ExtractedCamera, &ExtractedView, &CameraMainTextureUsages, &Msaa)>,
    view_target_attachments: Res<'_, ViewTargetAttachments>,
)