Enum webrender::TileNodeKind
source · pub enum TileNodeKind {
Leaf {
prev_indices: Vec<PrimitiveDependencyIndex>,
curr_indices: Vec<PrimitiveDependencyIndex>,
dirty_tracker: u64,
frames_since_modified: usize,
},
Node {
children: Vec<TileNode>,
},
}
Expand description
Details for a node in a quadtree that tracks dirty rects for a tile.
Variants§
Leaf
Fields
§
prev_indices: Vec<PrimitiveDependencyIndex>
The index buffer of primitives that affected this tile previous frame
§
curr_indices: Vec<PrimitiveDependencyIndex>
The index buffer of primitives that affect this tile on this frame
Node
Trait Implementations§
source§impl Clone for TileNodeKind
impl Clone for TileNodeKind
source§fn clone(&self) -> TileNodeKind
fn clone(&self) -> TileNodeKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for TileNodeKind
impl Send for TileNodeKind
impl Sync for TileNodeKind
impl Unpin for TileNodeKind
impl UnwindSafe for TileNodeKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more