[][src]Function mandelbrot::views::utils::new

pub fn new(
    device: &Device,
    size: LogicalSize,
    is_julia: bool,
    vertices: Vec<Vertex>
) -> FractalViewData

Creates data for each FractalViewManager. Takes care of whether the view is a Julia set and given the vertices it splits the view in the right way.