Struct gltf::mesh::Reader [−][src]
pub struct Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, { /* fields omitted */ }
Expand description
Mesh primitive reader.
Implementations
Visits the vertex positions of a primitive.
Visits the vertex normals of a primitive.
Visits the vertex tangents of a primitive.
Visits the vertex colors of a primitive.
Visits the vertex draw sequence of a primitive.
Visits the joint indices of the primitive.
Visits the vertex texture co-ordinates of a primitive.
Visits the joint weights of the primitive.
pub fn read_morph_targets(&self) -> ReadMorphTargets<'a, 's, F>ⓘNotable traits for ReadMorphTargets<'a, 's, F>impl<'a, 's, F> Iterator for ReadMorphTargets<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, type Item = (Option<ReadPositionDisplacements<'s>>, Option<ReadNormalDisplacements<'s>>, Option<ReadTangentDisplacements<'s>>);
pub fn read_morph_targets(&self) -> ReadMorphTargets<'a, 's, F>ⓘNotable traits for ReadMorphTargets<'a, 's, F>impl<'a, 's, F> Iterator for ReadMorphTargets<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, type Item = (Option<ReadPositionDisplacements<'s>>, Option<ReadNormalDisplacements<'s>>, Option<ReadTangentDisplacements<'s>>);
Notable traits for ReadMorphTargets<'a, 's, F>
impl<'a, 's, F> Iterator for ReadMorphTargets<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, type Item = (Option<ReadPositionDisplacements<'s>>, Option<ReadNormalDisplacements<'s>>, Option<ReadTangentDisplacements<'s>>);
Visits the morph targets of the primitive.
Trait Implementations
Auto Trait Implementations
impl<'a, 's, F> RefUnwindSafe for Reader<'a, 's, F> where
F: RefUnwindSafe,
impl<'a, 's, F> UnwindSafe for Reader<'a, 's, F> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more