pub struct ObjectUpdate(/* private fields */);Expand description
The callback behind UniformSource::ObjectUpdate — Node.update( frame )
narrowed to what an OBJECT update can read: frame.object, and the one
question a node on the ladder asks frame.renderer, isOccluded().
Two callbacks with the same behaviour are still two uniforms, so, like
SettableValue, this compares by identity: the program cache must not
merge two per-object uniforms that happen to be spelled alike.
Trait Implementations§
Source§impl Clone for ObjectUpdate
impl Clone for ObjectUpdate
Source§impl Debug for ObjectUpdate
impl Debug for ObjectUpdate
Source§impl Hash for ObjectUpdate
impl Hash for ObjectUpdate
Auto Trait Implementations§
impl !RefUnwindSafe for ObjectUpdate
impl !Send for ObjectUpdate
impl !Sync for ObjectUpdate
impl !UnwindSafe for ObjectUpdate
impl Freeze for ObjectUpdate
impl Unpin for ObjectUpdate
impl UnsafeUnpin for ObjectUpdate
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