pub struct HiddenAssets(pub BTreeSet<AssetId>);Expand description
Assets suppressed from rendering for this frame. GraphicsSystem collapses
each listed asset’s draw slots to a degenerate transform (so it neither
rasterizes nor casts shadows) and drops it from the PickIndex. Authored
data is untouched, and the collapse is re-derived every frame, so clearing
an id restores the object immediately. Published by the cn editor HUD
drive; absent / empty otherwise.
Tuple Fields§
§0: BTreeSet<AssetId>Trait Implementations§
Source§impl Clone for HiddenAssets
impl Clone for HiddenAssets
Source§fn clone(&self) -> HiddenAssets
fn clone(&self) -> HiddenAssets
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HiddenAssets
impl Debug for HiddenAssets
Source§impl Default for HiddenAssets
impl Default for HiddenAssets
Source§fn default() -> HiddenAssets
fn default() -> HiddenAssets
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HiddenAssets
impl RefUnwindSafe for HiddenAssets
impl Send for HiddenAssets
impl Sync for HiddenAssets
impl Unpin for HiddenAssets
impl UnsafeUnpin for HiddenAssets
impl UnwindSafe for HiddenAssets
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