Skip to main content

apply_view

Function apply_view 

Source
pub fn apply_view(
    inputs: &FrameGraphInputs,
    mode: ViewMode,
    show: ShowFlags,
) -> FrameGraphInputs
Expand description

The frame’s effective graph inputs under the view state. Cleared show flags gate their passes off; the flat modes (Unlit, Wireframe) additionally drop the surface-effect stack; the G-buffer channel modes keep the prepass alive and, for the occlusion view, route ao_output into the composite.