pub struct PreparedInstance { /* private fields */ }Expand description
Instance with resolved immutable asset ownership; no lookup or fallback is deferred to shaders.
Implementations§
Source§impl PreparedInstance
impl PreparedInstance
Sourcepub fn mesh_id(&self) -> ResourceId
pub fn mesh_id(&self) -> ResourceId
Mesh identity for batching; its immutable payload remains owned by this frame.
Sourcepub fn world_bounds(&self) -> BoundingSphere
pub fn world_bounds(&self) -> BoundingSphere
Conservative transformed sphere, including nonuniform scale and quaternion tolerance.
Auto Trait Implementations§
impl Freeze for PreparedInstance
impl RefUnwindSafe for PreparedInstance
impl Send for PreparedInstance
impl Sync for PreparedInstance
impl Unpin for PreparedInstance
impl UnsafeUnpin for PreparedInstance
impl UnwindSafe for PreparedInstance
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