pub enum GroupSource {
Placeholder,
Pooled(SceneTextureId),
Retained {
view: usize,
generation: u64,
size: (u32, u32),
},
}Expand description
What a cached bind group samples as its layer input.
Variants§
Placeholder
The transparent placeholder, which composites nothing.
Pooled(SceneTextureId)
A pooled page, by the id its texture minted for itself. A pool that drops a texture and allocates another never reuses the id, so an entry naming a dropped texture can only ever miss.
Retained
A retained page: the address of its view in the store, the store’s generation and the page extent. The store advances its generation whenever a page is added, evicted, re-rendered at another extent or the store is cleared, which are the only ways a view’s address can come to name a different texture.
Trait Implementations§
Source§impl Clone for GroupSource
impl Clone for GroupSource
impl Copy for GroupSource
Source§impl Debug for GroupSource
impl Debug for GroupSource
impl Eq for GroupSource
Source§impl Hash for GroupSource
impl Hash for GroupSource
Source§impl PartialEq for GroupSource
impl PartialEq for GroupSource
impl StructuralPartialEq for GroupSource
Auto Trait Implementations§
impl Freeze for GroupSource
impl RefUnwindSafe for GroupSource
impl Send for GroupSource
impl Sync for GroupSource
impl Unpin for GroupSource
impl UnsafeUnpin for GroupSource
impl UnwindSafe for GroupSource
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.