Skip to main content

nested_reloaded

Function nested_reloaded 

Source
pub fn nested_reloaded() -> Scene
Expand description

resource_in_nested_cab’s o.bundle, loaded a second time from the same bytes as o2.bundle (a replay hands two files of equal bytes one allocation, as a caller that loads one input twice does): an eager load registers CAB-I and its .resS at each load, so the read from either load’s texture finds the .resS. Under LoadMode::Lazy the reload’s slot for INNER stands in for the first load’s, and a reader inside the first load’s INNER reaches it through the reload’s handle (review round 5: it reached nothing, and the read missed every candidate).