pub enum WgslType {
F32,
I32,
Vec2F,
Vec3F,
Vec4F,
Mat2F,
Mat3F,
Mat4F,
Bool,
Unknown,
}Expand description
WGSL types we care about for MD2 user shaders. Anything outside this
set falls through as WgslType::Unknown and skips both passes.
Variants§
Implementations§
Source§impl WgslType
impl WgslType
Trait Implementations§
impl Copy for WgslType
impl Eq for WgslType
impl StructuralPartialEq for WgslType
Auto Trait Implementations§
impl Freeze for WgslType
impl RefUnwindSafe for WgslType
impl Send for WgslType
impl Sync for WgslType
impl Unpin for WgslType
impl UnwindSafe for WgslType
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