pub struct BoneRange {
pub first: usize,
pub count: usize,
pub bone: usize,
pub body_mask: u8,
pub mouth: bool,
}Expand description
A contiguous run of vertices sharing one bone.
This is the reason the format is fast: vertices are stored bone-local and sorted by bone, so a range pays ONE matrix load and then streams straight into RTPT, instead of a per-vertex matrix lookup.
Fields§
§first: usize§count: usize§bone: usize§body_mask: u8§mouth: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for BoneRange
impl RefUnwindSafe for BoneRange
impl Send for BoneRange
impl Sync for BoneRange
impl Unpin for BoneRange
impl UnsafeUnpin for BoneRange
impl UnwindSafe for BoneRange
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)