pub struct SceneCache { /* private fields */ }Expand description
Scene state held by the renderer.
Implementations§
Source§impl SceneCache
impl SceneCache
Sourcepub fn apply(&mut self, delta: SceneDelta)
pub fn apply(&mut self, delta: SceneDelta)
Apply a scene delta.
Sourcepub fn draw_order(&mut self) -> Vec<u64>
pub fn draw_order(&mut self) -> Vec<u64>
IDs in draw order (for tests and diagnostics).
Trait Implementations§
Source§impl Debug for SceneCache
impl Debug for SceneCache
Source§impl Default for SceneCache
impl Default for SceneCache
Source§fn default() -> SceneCache
fn default() -> SceneCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for SceneCache
impl !UnwindSafe for SceneCache
impl Freeze for SceneCache
impl Send for SceneCache
impl Sync for SceneCache
impl Unpin for SceneCache
impl UnsafeUnpin for SceneCache
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