pub struct Reader<'a, 's, F>where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,{ /* private fields */ }
Expand description
Mesh primitive reader.
Implementations§
source§impl<'a, 's, F> Reader<'a, 's, F>where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,
impl<'a, 's, F> Reader<'a, 's, F>where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,
sourcepub fn read_positions(&self) -> Option<ReadPositions<'s>>
pub fn read_positions(&self) -> Option<ReadPositions<'s>>
Visits the vertex positions of a primitive.
sourcepub fn read_normals(&self) -> Option<ReadNormals<'s>>
pub fn read_normals(&self) -> Option<ReadNormals<'s>>
Visits the vertex normals of a primitive.
sourcepub fn read_tangents(&self) -> Option<ReadTangents<'s>>
pub fn read_tangents(&self) -> Option<ReadTangents<'s>>
Visits the vertex tangents of a primitive.
sourcepub fn read_colors(&self, set: u32) -> Option<ReadColors<'s>>
pub fn read_colors(&self, set: u32) -> Option<ReadColors<'s>>
Visits the vertex colors of a primitive.
sourcepub fn read_indices(&self) -> Option<ReadIndices<'s>>
pub fn read_indices(&self) -> Option<ReadIndices<'s>>
Visits the vertex draw sequence of a primitive.
sourcepub fn read_joints(&self, set: u32) -> Option<ReadJoints<'s>>
pub fn read_joints(&self, set: u32) -> Option<ReadJoints<'s>>
Visits the joint indices of the primitive.
sourcepub fn read_tex_coords(&self, set: u32) -> Option<ReadTexCoords<'s>>
pub fn read_tex_coords(&self, set: u32) -> Option<ReadTexCoords<'s>>
Visits the vertex texture co-ordinates of a primitive.
sourcepub fn read_weights(&self, set: u32) -> Option<ReadWeights<'s>>
pub fn read_weights(&self, set: u32) -> Option<ReadWeights<'s>>
Visits the joint weights of the primitive.
sourcepub fn read_morph_targets(&self) -> ReadMorphTargets<'a, 's, F> ⓘ
pub fn read_morph_targets(&self) -> ReadMorphTargets<'a, 's, F> ⓘ
Visits the morph targets of the primitive.