mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 16:06:09 +00:00
Docs: the 3D-bounds map's sweeps and bound, and the change in the parity doc's revision history
This commit is contained in:
@@ -176,9 +176,10 @@ pub struct Renderer {
|
||||
pub(crate) pass_bounds: PtrMap<usize, (Arc<Node>, Option<Rect>)>,
|
||||
/// The 3D effects' art among the art `fx_art` made, by its address, with the art (weakly: what
|
||||
/// keeps the art is `fx_arts` and `measured`) and its bounds once measured. An entry is added
|
||||
/// for every 3D art made, measured or not, and entries whose art is gone are swept when the map
|
||||
/// reaches twice the size it kept at the last sweep (at least 1024), so it holds at most about
|
||||
/// twice the live 3D art plus 1024 entries. Until swept, an entry's weak pointer keeps the art's
|
||||
/// for every 3D art made, measured or not. Entries whose art is gone are swept when a frame
|
||||
/// ends (`let_go_of_measured`) and, for a renderer that only measures, when the map reaches
|
||||
/// twice the size it kept at the last sweep (at least 1024): it holds at most max(twice the
|
||||
/// entries kept at the last sweep, 1024). Until swept, an entry's weak pointer keeps the art's
|
||||
/// allocation (not its contents) alive.
|
||||
three_d_bounds: PtrMap<usize, ThreeDArt>,
|
||||
/// How many entries `three_d_bounds` kept when it last let go of the art no longer held: it
|
||||
|
||||
Reference in New Issue
Block a user