Struct webrender::tile_cache::TileCacheConfig
source · pub struct TileCacheConfig {
pub tile_caches: FastHashMap<SliceId, TileCacheParams>,
pub picture_cache_slice_count: usize,
}
Expand description
The output of a tile cache builder, containing all details needed to construct the tile cache(s) for the next scene, and retain tiles from the previous frame when sent send to the frame builder.
Fields§
§tile_caches: FastHashMap<SliceId, TileCacheParams>
Mapping of slice id to the parameters needed to construct this tile cache.
picture_cache_slice_count: usize
Number of picture cache slices that were created (for profiler)
Implementations§
Auto Trait Implementations§
impl Freeze for TileCacheConfig
impl RefUnwindSafe for TileCacheConfig
impl Send for TileCacheConfig
impl Sync for TileCacheConfig
impl Unpin for TileCacheConfig
impl UnwindSafe for TileCacheConfig
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more