Skip to main content

euv_core/render/graph/
enum.rs

1use super::*;
2
3/// Explicit ordered GPU pass stages scheduled within one `RenderGraph` frame.
4#[derive(
5    Clone, Copy, Debug, Default, Deserialize, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize,
6)]
7pub enum RenderGraphPassKind {
8    /// Pass 0: GPU Compute Layout (`measure_bottom_up`, `solve_top_down`, `cull_and_emit`, optional `hit_test`).
9    ComputeLayout,
10    /// Pass 1: Coalesced dirty-range buffer upload and incremental glyph/image atlas sub-rect upload.
11    BlitAndAtlasUpload,
12    /// Pass 2: External offscreen 3D PBR / Fluid Ocean GPU render target binding hook.
13    OffscreenExternalTarget,
14    /// Pass 3: Dual-Kawase `blur_down` + `blur_up` half-resolution ping-pong `BackdropBlur` passes.
15    DualKawaseBackdropBlur,
16    /// Pass 4: Unified 64-byte Uber-UI direct + indirect draw pass.
17    #[default]
18    UberUiDirectAndIndirect,
19}