Struct webrender::render_task_cache::RenderTaskCacheEntry
source · pub struct RenderTaskCacheEntry {
user_data: Option<[f32; 4]>,
target_kind: RenderTargetKind,
is_opaque: bool,
frame_id: u64,
pub handle: TextureCacheHandle,
pub render_task_id: Option<RenderTaskId>,
}
Fields§
§user_data: Option<[f32; 4]>
§target_kind: RenderTargetKind
§is_opaque: bool
§frame_id: u64
§handle: TextureCacheHandle
§render_task_id: Option<RenderTaskId>
If a render task was generated for this cache entry on this frame, we need to track the task id here. This allows us to hook it up as a dependency of any parent tasks that make a reqiest from the render task cache.
Trait Implementations§
source§impl Debug for RenderTaskCacheEntry
impl Debug for RenderTaskCacheEntry
Auto Trait Implementations§
impl Freeze for RenderTaskCacheEntry
impl RefUnwindSafe for RenderTaskCacheEntry
impl Send for RenderTaskCacheEntry
impl Sync for RenderTaskCacheEntry
impl Unpin for RenderTaskCacheEntry
impl UnwindSafe for RenderTaskCacheEntry
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