pub enum MeshoptMode {
Attributes,
Triangles,
Indices,
}Available on crate feature
gltf-container only.Expand description
Encoded layout of one EXT_meshopt_compression buffer view.
Variants§
Attributes
Vertex attribute stream, count elements of stride bytes.
Triangles
Triangle index stream restricted to triangle lists.
Indices
Index stream with no connectivity assumptions.
Implementations§
Trait Implementations§
Source§impl Clone for MeshoptMode
impl Clone for MeshoptMode
Source§fn clone(&self) -> MeshoptMode
fn clone(&self) -> MeshoptMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MeshoptMode
Source§impl Debug for MeshoptMode
impl Debug for MeshoptMode
impl Eq for MeshoptMode
Source§impl PartialEq for MeshoptMode
impl PartialEq for MeshoptMode
impl StructuralPartialEq for MeshoptMode
Auto Trait Implementations§
impl Freeze for MeshoptMode
impl RefUnwindSafe for MeshoptMode
impl Send for MeshoptMode
impl Sync for MeshoptMode
impl Unpin for MeshoptMode
impl UnsafeUnpin for MeshoptMode
impl UnwindSafe for MeshoptMode
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