pub struct Reader<'a, 's, F>{ /* private fields */ }
Expand description
Mesh primitive reader.
Implementations§
source§impl<'a, 's, F> Reader<'a, 's, F>
impl<'a, 's, F> Reader<'a, 's, F>
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.
Trait Implementations§
Auto Trait Implementations§
impl<'a, 's, F> RefUnwindSafe for Reader<'a, 's, F>where
F: RefUnwindSafe,
impl<'a, 's, F> Send for Reader<'a, 's, F>where
F: Send,
impl<'a, 's, F> Sync for Reader<'a, 's, F>where
F: Sync,
impl<'a, 's, F> Unpin for Reader<'a, 's, F>where
F: Unpin,
impl<'a, 's, F> UnwindSafe for Reader<'a, 's, F>where
F: UnwindSafe,
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