pub struct FrameVisibilityState<'a> {Show 13 fields
pub clip_store: &'a mut ClipStore,
pub resource_cache: &'a mut ResourceCache,
pub gpu_cache: &'a mut GpuCache,
pub data_stores: &'a mut DataStores,
pub clip_tree: &'a mut ClipTree,
pub composite_state: &'a mut CompositeState,
pub rg_builder: &'a mut RenderTaskGraphBuilder,
pub prim_instances: &'a mut [PrimitiveInstance],
pub surfaces: &'a mut [SurfaceInfo],
pub surface_stack: Vec<(PictureIndex, SurfaceIndex)>,
pub profile: &'a mut TransactionProfile,
pub scratch: &'a mut ScratchBuffer,
pub visited_pictures: &'a mut [bool],
}Fields§
§clip_store: &'a mut ClipStore§resource_cache: &'a mut ResourceCache§gpu_cache: &'a mut GpuCache§data_stores: &'a mut DataStores§clip_tree: &'a mut ClipTree§composite_state: &'a mut CompositeState§rg_builder: &'a mut RenderTaskGraphBuilder§prim_instances: &'a mut [PrimitiveInstance]§surfaces: &'a mut [SurfaceInfo]§surface_stack: Vec<(PictureIndex, SurfaceIndex)>A stack of currently active off-screen surfaces during the visibility frame traversal.
profile: &'a mut TransactionProfile§scratch: &'a mut ScratchBuffer§visited_pictures: &'a mut [bool]Implementations§
Source§impl<'a> FrameVisibilityState<'a>
impl<'a> FrameVisibilityState<'a>
pub fn push_surface( &mut self, pic_index: PictureIndex, surface_index: SurfaceIndex, )
pub fn pop_surface(&mut self)
Auto Trait Implementations§
impl<'a> Freeze for FrameVisibilityState<'a>
impl<'a> !RefUnwindSafe for FrameVisibilityState<'a>
impl<'a> !Send for FrameVisibilityState<'a>
impl<'a> !Sync for FrameVisibilityState<'a>
impl<'a> Unpin for FrameVisibilityState<'a>
impl<'a> !UnwindSafe for FrameVisibilityState<'a>
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