use super::*;
#[derive(Clone, Data, Debug, New, PartialEq)]
pub struct RenderConfig {
#[get(type(copy))]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub backend: RenderBackendType,
#[get(type(clone))]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub canvas_selector: String,
#[get(type(copy))]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub width: f64,
#[get(type(copy))]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub height: f64,
#[get(type(copy))]
#[new(skip)]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub quality: RenderQuality,
#[get(type(copy))]
#[new(skip)]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub antialias: bool,
#[get(type(copy))]
#[new(skip)]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub power_preference: GpuPowerPreference,
#[get(type(copy))]
#[new(skip)]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub ssaa_scale_factor: f64,
}
#[derive(Clone, Data, Debug, New, PartialEq)]
pub struct EngineConfig {
#[get(type(clone))]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub render: RenderConfig,
#[get(type(copy))]
#[new(skip)]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub scheduler: SchedulerConfig,
}