pub struct FaceVaryingChannel {
pub indices: Vec<u32>,
pub value_count: u32,
}Expand description
Per-channel face-varying value-index topology.
At UV seams, face-corners sharing a geometric vertex can reference different FVar values. This struct holds the per-face-corner indices into the channel’s own value array.
Fields§
§indices: Vec<u32>Per face-corner index into the channel’s value array.
Same length as Mesh::face_vertex_indices.
value_count: u32Number of distinct values in this channel.
Trait Implementations§
Source§impl Clone for FaceVaryingChannel
impl Clone for FaceVaryingChannel
Source§fn clone(&self) -> FaceVaryingChannel
fn clone(&self) -> FaceVaryingChannel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FaceVaryingChannel
impl Debug for FaceVaryingChannel
Source§impl<'de> Deserialize<'de> for FaceVaryingChannel
impl<'de> Deserialize<'de> for FaceVaryingChannel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FaceVaryingChannel
impl PartialEq for FaceVaryingChannel
Source§fn eq(&self, other: &FaceVaryingChannel) -> bool
fn eq(&self, other: &FaceVaryingChannel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FaceVaryingChannel
impl Serialize for FaceVaryingChannel
impl StructuralPartialEq for FaceVaryingChannel
Auto Trait Implementations§
impl Freeze for FaceVaryingChannel
impl RefUnwindSafe for FaceVaryingChannel
impl Send for FaceVaryingChannel
impl Sync for FaceVaryingChannel
impl Unpin for FaceVaryingChannel
impl UnsafeUnpin for FaceVaryingChannel
impl UnwindSafe for FaceVaryingChannel
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