pub struct Geometry {
pub smooth_shading_group: usize,
pub mesh: Vec<PrimitiveElement>,
}
Expand description
A set of shapes, all using the given material.
Fields§
§smooth_shading_group: usize
Should we use smooth shading when rendering this?
mesh: Vec<PrimitiveElement>
The shapes of which this geometry is composed.
Trait Implementations§
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