use crate::*;
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum BlendMode {
#[default]
Normal,
Multiply,
Screen,
Lighter,
Overlay,
Darken,
Lighten,
ColorDodge,
ColorBurn,
HardLight,
SoftLight,
Difference,
Exclusion,
Hue,
Saturation,
Color,
Luminosity,
}
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
pub enum RenderQuality {
Low,
Medium,
#[default]
High,
}
#[derive(Clone, Debug)]
pub enum WebGpuInitError {
NavigatorLookup(JsValue),
NavigatorGpuMissing,
RequestAdapterLookup(JsValue),
RequestAdapterCall(JsValue),
AdapterPromise(JsValue),
AdapterUnavailable,
RequestDeviceLookup(JsValue),
RequestDeviceCall(JsValue),
DevicePromise(JsValue),
DeviceUnavailable,
CanvasNotFound(String),
CanvasQuery(JsValue),
CanvasContextUnavailable,
PreferredFormatLookup(JsValue),
PreferredFormatCall(JsValue),
PreferredFormatType(JsValue),
ConfigureLookup(JsValue),
QueueLookup(JsValue),
}