pub struct GltfPrimitiveCapability {
pub mesh_index: usize,
pub primitive_index: usize,
pub mode: u64,
pub attributes: Vec<GltfAttributeCapability>,
pub morph_target_count: usize,
pub morph_position_accessors: Vec<usize>,
pub unsupported_morph_locations: Vec<String>,
}Expand description
One source primitive and every declared attribute semantic.
Fields§
§mesh_index: usizeStable source mesh index.
primitive_index: usizePrimitive index inside the mesh.
mode: u64Raw glTF primitive mode value (default 4, triangles).
attributes: Vec<GltfAttributeCapability>Attributes in lexical semantic order with exact accessor identities.
morph_target_count: usizeNumber of declared morph targets.
morph_position_accessors: Vec<usize>POSITION accessor indices from morph targets in target order.
unsupported_morph_locations: Vec<String>Located morph semantics this scale boundary cannot preserve.
Trait Implementations§
Source§impl Clone for GltfPrimitiveCapability
impl Clone for GltfPrimitiveCapability
Source§fn clone(&self) -> GltfPrimitiveCapability
fn clone(&self) -> GltfPrimitiveCapability
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 moreSource§impl Debug for GltfPrimitiveCapability
impl Debug for GltfPrimitiveCapability
impl Eq for GltfPrimitiveCapability
Source§impl PartialEq for GltfPrimitiveCapability
impl PartialEq for GltfPrimitiveCapability
Source§impl Serialize for GltfPrimitiveCapability
impl Serialize for GltfPrimitiveCapability
impl StructuralPartialEq for GltfPrimitiveCapability
Auto Trait Implementations§
impl Freeze for GltfPrimitiveCapability
impl RefUnwindSafe for GltfPrimitiveCapability
impl Send for GltfPrimitiveCapability
impl Sync for GltfPrimitiveCapability
impl Unpin for GltfPrimitiveCapability
impl UnsafeUnpin for GltfPrimitiveCapability
impl UnwindSafe for GltfPrimitiveCapability
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