Function bevy::pbr::prepare_fog

source ·
pub fn prepare_fog(
    commands: Commands<'_, '_>,
    render_device: Res<'_, RenderDevice>,
    render_queue: Res<'_, RenderQueue>,
    fog_meta: ResMut<'_, FogMeta>,
    views: Query<'_, '_, (Entity, Option<&FogSettings>), With<ExtractedView>>
)
Expand description

Prepares fog metadata and writes the fog-related uniform buffers to the GPU