Enum bgfx_rs::static_lib::Attrib
source · [−]#[repr(u32)]
pub enum Attrib {
Show 19 variants
Position,
Normal,
Tangent,
Bitangent,
Color0,
Color1,
Color2,
Color3,
Indices,
Weight,
TexCoord0,
TexCoord1,
TexCoord2,
TexCoord3,
TexCoord4,
TexCoord5,
TexCoord6,
TexCoord7,
Count,
}
Expand description
Vertex attribute enum.
Variants
Position
a_position
Normal
a_normal
Tangent
a_tangent
Bitangent
a_bitangent
Color0
a_color0
Color1
a_color1
Color2
a_color2
Color3
a_color3
Indices
a_indices
Weight
a_weight
TexCoord0
a_texcoord0
TexCoord1
a_texcoord1
TexCoord2
a_texcoord2
TexCoord3
a_texcoord3
TexCoord4
a_texcoord4
TexCoord5
a_texcoord5
TexCoord6
a_texcoord6
TexCoord7
a_texcoord7
Count
Number of entries in the enum
Trait Implementations
impl Copy for Attrib
impl StructuralPartialEq for Attrib
Auto Trait Implementations
impl RefUnwindSafe for Attrib
impl Send for Attrib
impl Sync for Attrib
impl Unpin for Attrib
impl UnwindSafe for Attrib
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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