layers::prelude

Function clear_subtree_buffer_cache

Source
pub fn clear_subtree_buffer_cache()
Expand description

Drop every cached subtree buffer, freeing all retained render surfaces and image snapshots. Useful on teardown or when the whole plane set is rebuilt. Must run on the render thread.