pub struct MeshVertex {
pub position: Vec3,
pub normal: Vec3,
pub uv: Vec2,
pub color: Vec4,
}Expand description
CPU vertex contract used by the first scene compiler.
Fields§
§position: Vec3§normal: Vec3§uv: Vec2§color: Vec4Trait Implementations§
Source§impl Clone for MeshVertex
impl Clone for MeshVertex
impl Copy for MeshVertex
Source§impl Debug for MeshVertex
impl Debug for MeshVertex
Source§impl PartialEq for MeshVertex
impl PartialEq for MeshVertex
impl StructuralPartialEq for MeshVertex
Auto Trait Implementations§
impl Forget for MeshVertex
impl Freeze for MeshVertex
impl Move for MeshVertex
impl RefUnwindSafe for MeshVertex
impl Send for MeshVertex
impl Sync for MeshVertex
impl Unpin for MeshVertex
impl UnsafeUnpin for MeshVertex
impl UnwindSafe for MeshVertex
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