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