pub fn load_fragment(mut self, fragment: &'a str) -> Self {
        self.fragment = Some(ShaderModuleDescriptor {
            label: Some("Default fragment shader"),
            source: Self::shader_auto_load(fragment).expect("Load fragment shader"),
        });
        self
    }
/// Load the fragment shader from file path at runtime.
/// See `with_fragment()` for loading static bytes.
Load the fragment shader from file path at runtime.
See `with_fragment()` for loading static bytes.
Load the fragment shader from file path at runtime . See ` with_fragment () ` for loading static bytes .
pub fn load_fragment(mut self, fragment: &'a str) -> Self {
        self.fragment = Some(ShaderModuleDescriptor {
            label: Some("Default fragment shader"),
            source: Self::shader_auto_load(fragment).expect("Load fragment shader"),
        });
        self
    }
pub fn load_fragment ( mut self , fragment : & ' a str ) -> Self { self . fragment = Some ( ShaderModuleDescriptor { label : Some ( " " ) , source : Self :: shader_auto_load ( fragment ) . expect ( " " ) , } ) ; self }
Load the fragment shader from file path at runtime.
Load the fragment shader from file path at runtime .
mut self
fragment
&'a str
mut self
fragment
&'a str