pub struct SharedModule {
pub import_path: &'static str,
pub source: &'static str,
}Expand description
A WGSL module a model shader can #import, as text.
Fields§
§import_path: &'static strPath a shader imports, as in henad::rng.
source: &'static strWGSL text of the module.
Trait Implementations§
Auto Trait Implementations§
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