Save/load more config

This commit is contained in:
2024-12-14 23:14:13 -05:00
parent 6e2d70abd7
commit e31269368d
5 changed files with 148 additions and 52 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
use std::{collections::HashMap, sync::Arc};
use egui::{Color32, Rgba, Vec2, Widget};
use serde::{Deserialize, Serialize};
use wgpu::{util::DeviceExt as _, BindGroup, BindGroupLayout, Buffer, RenderPipeline};
use crate::graphics::TextureSink;
@@ -260,7 +261,7 @@ impl Colors {
}
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)]
#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug, Serialize, Deserialize)]
pub enum DisplayMode {
Anaglyph,
LeftEye,