pub struct InternalMesh {
pub vertex_range: Range<usize>,
pub index_range: Range<usize>,
pub bounding_sphere: BoundingSphere,
pub skeletons: Vec<RawSkeletonHandle>,
pub num_joints: u32,
}
Expand description
Internal representation of a mesh.
Fields§
§vertex_range: Range<usize>
Range of values from the MeshBuffers
where vertex data for this mesh
is
index_range: Range<usize>
Range of values from the MeshBuffers
where index data for this mesh
is
bounding_sphere: BoundingSphere
The bounding sphere of this mesh. Used for culling.
skeletons: Vec<RawSkeletonHandle>
Handles to the skeletons that point to this mesh. Used for internal bookkeeping
num_joints: u32
For skinned meshes, stores the number of joints present in the joint index buffer
Auto Trait Implementations§
impl Freeze for InternalMesh
impl RefUnwindSafe for InternalMesh
impl Send for InternalMesh
impl Sync for InternalMesh
impl Unpin for InternalMesh
impl UnwindSafe for InternalMesh
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