pub enum VertexAttributeKind {
Position,
BlendWeights,
BlendIndices,
Normal,
Uv,
Tangent2,
Tangent1,
Color,
}
Available on crate feature
mdl
only.Expand description
The kind of data represented by a vertex attribute.
Variants
Position
BlendWeights
BlendIndices
Normal
Uv
Tangent2
Tangent1
Color
Trait Implementations
sourceimpl BinRead for VertexAttributeKind
impl BinRead for VertexAttributeKind
sourcefn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_options: &ReadOptions,
__binrw_generated_var_arguments: Self::Args
) -> BinResult<Self>
fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_options: &ReadOptions,
__binrw_generated_var_arguments: Self::Args
) -> BinResult<Self>
sourceimpl Clone for VertexAttributeKind
impl Clone for VertexAttributeKind
sourcefn clone(&self) -> VertexAttributeKind
fn clone(&self) -> VertexAttributeKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VertexAttributeKind
impl Debug for VertexAttributeKind
impl Copy for VertexAttributeKind
Auto Trait Implementations
impl RefUnwindSafe for VertexAttributeKind
impl Send for VertexAttributeKind
impl Sync for VertexAttributeKind
impl Unpin for VertexAttributeKind
impl UnwindSafe for VertexAttributeKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more