Struct octoon::core::material::VertexAttrib
source · pub struct VertexAttrib {
pub index: u8,
pub count: u8,
pub size: u8,
pub stride: u8,
pub offset: u16,
pub format: Format,
}
Fields
index: u8
count: u8
size: u8
stride: u8
offset: u16
format: Format
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VertexAttrib
impl Send for VertexAttrib
impl Sync for VertexAttrib
impl Unpin for VertexAttrib
impl UnwindSafe for VertexAttrib
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
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.