public void Store(PersistentSettings settings) { settings.SetBool("WriteSerialized", writeSerialized); settings.SetString("RendererDirectory", rendererDirectory); settings.SetInteger("XResolution", xres); settings.SetInteger("YResolution", yres); settings.SetInteger("PathLength", pathLength); settings.SetInteger("SamplesPerPixel", samplesPerPixel); settings.SetInteger("Integrator", (int)integrator); }