pub enum MeshoptFilter {
None,
Octahedral,
Quaternion,
Exponential,
Color,
}Available on crate feature
gltf-container only.Expand description
Reversible transform applied to a decoded attribute stream.
Variants§
None
Attribute data is used as decoded.
Octahedral
Octahedral unit vectors, 4 or 8 byte stride.
Quaternion
Quaternions stored with the largest component dropped, 8 byte stride.
Exponential
Floats stored as shared-exponent mantissa pairs.
Color
RGBA stored as luma / chroma with the scale folded into alpha, 4 or 8 byte stride.
Implementations§
Source§impl MeshoptFilter
impl MeshoptFilter
Trait Implementations§
Source§impl Clone for MeshoptFilter
impl Clone for MeshoptFilter
Source§fn clone(&self) -> MeshoptFilter
fn clone(&self) -> MeshoptFilter
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 MeshoptFilter
Source§impl Debug for MeshoptFilter
impl Debug for MeshoptFilter
Source§impl Default for MeshoptFilter
impl Default for MeshoptFilter
Source§fn default() -> MeshoptFilter
fn default() -> MeshoptFilter
Returns the “default value” for a type. Read more
impl Eq for MeshoptFilter
Source§impl PartialEq for MeshoptFilter
impl PartialEq for MeshoptFilter
impl StructuralPartialEq for MeshoptFilter
Auto Trait Implementations§
impl Freeze for MeshoptFilter
impl RefUnwindSafe for MeshoptFilter
impl Send for MeshoptFilter
impl Sync for MeshoptFilter
impl Unpin for MeshoptFilter
impl UnsafeUnpin for MeshoptFilter
impl UnwindSafe for MeshoptFilter
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