pub struct Part {
pub vertices: Vec<Vertex>,
pub vertex_streams: Vec<Vec<u8>>,
pub vertex_stream_strides: Vec<usize>,
pub indices: Vec<u16>,
pub material_index: u16,
pub submeshes: Vec<SubMesh>,
pub shapes: Vec<Shape>,
/* private fields */
}
Expand description
Corresponds to a “Mesh” in an LOD
Fields§
§vertices: Vec<Vertex>
§vertex_streams: Vec<Vec<u8>>
Indexed by VertexElement::stream
vertex_stream_strides: Vec<usize>
§indices: Vec<u16>
§material_index: u16
§submeshes: Vec<SubMesh>
§shapes: Vec<Shape>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Part
impl RefUnwindSafe for Part
impl Send for Part
impl Sync for Part
impl Unpin for Part
impl UnwindSafe for Part
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