pub fn wgsl_type_name(&self) -> String {
        match self {
            MultiType::Scalar(s) => s.wgsl_type_name().to_string(),
            MultiType::Vec(st, n) => format!("vec{}<{}>", n, st.wgsl_type_name()),
            MultiType::Mat(st, w, h) => format!("mat{}x{}<{}>", w, h, st.wgsl_type_name()),
        }
    }
/// Name of this data type in WGSL
Name of this data type in WGSL
Name of this data type in WGSL
pub fn wgsl_type_name(&self) -> String {
        match self {
            MultiType::Scalar(s) => s.wgsl_type_name().to_string(),
            MultiType::Vec(st, n) => format!("vec{}<{}>", n, st.wgsl_type_name()),
            MultiType::Mat(st, w, h) => format!("mat{}x{}<{}>", w, h, st.wgsl_type_name()),
        }
    }
pub fn wgsl_type_name ( & self ) -> String { match self { MultiType :: Scalar ( s ) => s . wgsl_type_name ( ) . to_string ( ) , MultiType :: Vec ( st , n ) => format ! ( " " n st wgsl_type_name ( ) ) , MultiType :: Mat ( st , w , h ) => format ! ( " " w h st wgsl_type_name ( ) ) , } }
Name of this data type in WGSL
Name of this data type in WGSL
&self
&self