pub enum Stream {
F32x2(Vec<[f32; 2]>),
F32x3(Vec<[f32; 3]>),
F32x4(Vec<[f32; 4]>),
U8x4(Vec<[u8; 4]>),
U16x4(Vec<[u16; 4]>),
}Expand description
One vertex stream, decoded to the type a writer can use directly. Readers that need to keep a game’s quantisation (SNORM16 positions with a scale, packed normals) attach it as a dialect component and lower later.
Variants§
F32x2(Vec<[f32; 2]>)
F32x3(Vec<[f32; 3]>)
F32x4(Vec<[f32; 4]>)
U8x4(Vec<[u8; 4]>)
U16x4(Vec<[u16; 4]>)
Implementations§
Trait Implementations§
impl StructuralPartialEq for Stream
Auto Trait Implementations§
impl Forget for Stream
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnsafeUnpin for Stream
impl UnwindSafe for Stream
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