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>>
Available on crate feature utils only.
pub fn read_positions(&self) -> Option<ReadPositions<'s>>
utils only.Visits the vertex positions of a primitive.
Sourcepub fn read_normals(&self) -> Option<ReadNormals<'s>>
Available on crate feature utils only.
pub fn read_normals(&self) -> Option<ReadNormals<'s>>
utils only.Visits the vertex normals of a primitive.
Sourcepub fn read_tangents(&self) -> Option<ReadTangents<'s>>
Available on crate feature utils only.
pub fn read_tangents(&self) -> Option<ReadTangents<'s>>
utils only.Visits the vertex tangents of a primitive.
Sourcepub fn read_colors(&self, set: u32) -> Option<ReadColors<'s>>
Available on crate feature utils only.
pub fn read_colors(&self, set: u32) -> Option<ReadColors<'s>>
utils only.Visits the vertex colors of a primitive.
Sourcepub fn read_indices(&self) -> Option<ReadIndices<'s>>
Available on crate feature utils only.
pub fn read_indices(&self) -> Option<ReadIndices<'s>>
utils only.Visits the vertex draw sequence of a primitive.
Sourcepub fn read_joints(&self, set: u32) -> Option<ReadJoints<'s>>
Available on crate feature utils only.
pub fn read_joints(&self, set: u32) -> Option<ReadJoints<'s>>
utils only.Visits the joint indices of the primitive.
Sourcepub fn read_tex_coords(&self, set: u32) -> Option<ReadTexCoords<'s>>
Available on crate feature utils only.
pub fn read_tex_coords(&self, set: u32) -> Option<ReadTexCoords<'s>>
utils only.Visits the vertex texture co-ordinates of a primitive.
Sourcepub fn read_weights(&self, set: u32) -> Option<ReadWeights<'s>>
Available on crate feature utils only.
pub fn read_weights(&self, set: u32) -> Option<ReadWeights<'s>>
utils only.Visits the joint weights of the primitive.
Sourcepub fn read_morph_targets(&self) -> ReadMorphTargets<'a, 's, F> ⓘ
Available on crate feature utils only.
pub fn read_morph_targets(&self) -> ReadMorphTargets<'a, 's, F> ⓘ
utils only.Visits the morph targets of the primitive.
Trait Implementations§
Auto Trait Implementations§
impl<'a, 's, F> Freeze for Reader<'a, 's, F>where
F: Freeze,
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