pub type BlurTaskCache = FastHashMap<BlurTaskKey, RenderTaskId>;
Expand description

In order to avoid duplicating the down-scaling and blur passes when a picture has several blurs, we use a local (primitive-level) cache of the render tasks generated for a single shadowed primitive in a single frame.

Aliased Type§

struct BlurTaskCache {
    base: HashMap<BlurTaskKey, RenderTaskId, BuildHasherDefault<FxHasher>>,
}

Fields§

§base: HashMap<BlurTaskKey, RenderTaskId, BuildHasherDefault<FxHasher>>