pub fn frag_mut(&mut self) -> Option<&mut Function> {
        if let Some(frag) = &self.frag {
            Some(&mut self.functions[frag.main])
        } else {
            None
        }
    }
/// Get the fragment shader main function
Get the fragment shader main function
Get the fragment shader main function
pub fn frag_mut(&mut self) -> Option<&mut Function> {
        if let Some(frag) = &self.frag {
            Some(&mut self.functions[frag.main])
        } else {
            None
        }
    }
pub fn frag_mut ( & mut self ) -> Option < & mut Function > { if let Some ( frag ) = & self . frag { Some ( & mut self . functions [ frag . main ] ) } else { None } }
Get the fragment shader main function
Get the fragment shader main function
&mut self
&mut self