pub struct TileCacheParams {
pub debug_flags: DebugFlags,
pub slice: usize,
pub slice_flags: SliceFlags,
pub spatial_node_index: SpatialNodeIndex,
pub visibility_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§visibility_node_index: SpatialNodeIndex§background_color: Option<ColorF>§virtual_surface_size: i32§image_surface_count: usize§yuv_image_surface_count: usizeAuto Trait Implementations§
impl Freeze for TileCacheParams
impl RefUnwindSafe for TileCacheParams
impl Send for TileCacheParams
impl Sync for TileCacheParams
impl Unpin for TileCacheParams
impl UnsafeUnpin 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