Struct gltf::mesh::Reader [−][src]
pub struct Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, { /* fields omitted */ }
Mesh primitive reader.
Methods
impl<'a, 's, F> Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,
[src]
impl<'a, 's, F> Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,
pub fn read_positions(&self) -> Option<ReadPositions<'s>>
[src]
pub fn read_positions(&self) -> Option<ReadPositions<'s>>
Visits the vertex positions of a primitive.
pub fn read_normals(&self) -> Option<ReadNormals<'s>>
[src]
pub fn read_normals(&self) -> Option<ReadNormals<'s>>
Visits the vertex normals of a primitive.
pub fn read_tangents(&self) -> Option<ReadTangents<'s>>
[src]
pub fn read_tangents(&self) -> Option<ReadTangents<'s>>
Visits the vertex tangents of a primitive.
pub fn read_colors(&self, set: u32) -> Option<ReadColors<'s>>
[src]
pub fn read_colors(&self, set: u32) -> Option<ReadColors<'s>>
Visits the vertex colors of a primitive.
pub fn read_indices(&self) -> Option<ReadIndices<'s>>
[src]
pub fn read_indices(&self) -> Option<ReadIndices<'s>>
Visits the vertex draw sequence of a primitive.
pub fn read_joints(&self, set: u32) -> Option<ReadJoints<'s>>
[src]
pub fn read_joints(&self, set: u32) -> Option<ReadJoints<'s>>
Visits the joint indices of the primitive.
pub fn read_tex_coords(&self, set: u32) -> Option<ReadTexCoords<'s>>
[src]
pub fn read_tex_coords(&self, set: u32) -> Option<ReadTexCoords<'s>>
Visits the vertex texture co-ordinates of a primitive.
pub fn read_weights(&self, set: u32) -> Option<ReadWeights<'s>>
[src]
pub fn read_weights(&self, set: u32) -> Option<ReadWeights<'s>>
Visits the joint weights of the primitive.
ⓘImportant traits for ReadMorphTargets<'a, 's, F>pub fn read_morph_targets(&self) -> ReadMorphTargets<'a, 's, F>
[src]
ⓘImportant traits for ReadMorphTargets<'a, 's, F>
pub fn read_morph_targets(&self) -> ReadMorphTargets<'a, 's, F>
Visits the morph targets of the primitive.
Trait Implementations
impl<'a, 's, F: Clone> Clone for Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,
[src]
impl<'a, 's, F: Clone> Clone for Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,
fn clone(&self) -> Reader<'a, 's, F>
[src]
fn clone(&self) -> Reader<'a, 's, F>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a, 's, F: Debug> Debug for Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,
[src]
impl<'a, 's, F: Debug> Debug for Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,