Struct webrender::picture::TileCacheParams
source · pub struct TileCacheParams {
pub debug_flags: DebugFlags,
pub slice: usize,
pub slice_flags: SliceFlags,
pub spatial_node_index: SpatialNodeIndex,
pub background_color: Option<ColorF>,
pub shared_clip_node_id: ClipNodeId,
pub shared_clip_leaf_id: Option<ClipLeafId>,
pub virtual_surface_size: i32,
pub image_surface_count: usize,
pub yuv_image_surface_count: usize,
}
Expand description
Information that is required to reuse or create a new tile cache. Created during scene building and passed to the render backend / frame builder.
Fields§
§debug_flags: DebugFlags
§slice: usize
§slice_flags: SliceFlags
§spatial_node_index: SpatialNodeIndex
§background_color: Option<ColorF>
§virtual_surface_size: i32
§image_surface_count: usize
§yuv_image_surface_count: usize
Auto Trait Implementations§
impl Freeze for TileCacheParams
impl RefUnwindSafe for TileCacheParams
impl Send for TileCacheParams
impl Sync for TileCacheParams
impl Unpin for TileCacheParams
impl UnwindSafe for TileCacheParams
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