pub struct Geometry {
pub name: String,
pub vertex_range: Range<u32>,
pub index_offset: u64,
pub index_type: Option<IndexType>,
pub triangle_count: u32,
pub transform: Transform,
pub material_index: usize,
}
Fields§
§name: String
§vertex_range: Range<u32>
§index_offset: u64
§index_type: Option<IndexType>
§triangle_count: u32
§transform: Transform
§material_index: usize
Auto Trait Implementations§
impl Freeze for Geometry
impl RefUnwindSafe for Geometry
impl Send for Geometry
impl Sync for Geometry
impl Unpin for Geometry
impl UnwindSafe for Geometry
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