pub enum DreamLightingQuality {
Low,
Medium,
High,
Ultra,
Cinematic,
}Expand description
Dream Lighting quality preset — controls the entire lighting pipeline. Maps to a fixed parameter matrix for all GI, shadow, reflection, and post-processing subsystems.
Variants§
Low
Screen-space GI only, no RT. SSAO + TAA. Minimal VRAM.
Medium
Screen-space GI, CSM shadows, SSAO + SSR + TAA. Moderate VRAM.
High
SHaRC RT GI + RT shadows, full screen-space stack, screen traces. ~150 MB.
Ultra
SHaRC RT GI (high density) + RT shadows, all effects, Hi-Z. ~250 MB.
Cinematic
Maximum quality: Dream TSR, 4-bounce GI, all effects at max settings.
Implementations§
Source§impl DreamLightingQuality
impl DreamLightingQuality
Sourcepub fn auto_detect(
ray_tracing: bool,
max_storage_bytes: u64,
max_tlas_instances: u32,
) -> Self
pub fn auto_detect( ray_tracing: bool, max_storage_bytes: u64, max_tlas_instances: u32, ) -> Self
Auto-detect quality from GPU capabilities (spec §4.3).
Trait Implementations§
Source§impl Clone for DreamLightingQuality
impl Clone for DreamLightingQuality
Source§fn clone(&self) -> DreamLightingQuality
fn clone(&self) -> DreamLightingQuality
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DreamLightingQuality
impl Debug for DreamLightingQuality
Source§impl Default for DreamLightingQuality
impl Default for DreamLightingQuality
Source§impl<'de> Deserialize<'de> for DreamLightingQuality
impl<'de> Deserialize<'de> for DreamLightingQuality
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for DreamLightingQuality
impl Hash for DreamLightingQuality
Source§impl PartialEq for DreamLightingQuality
impl PartialEq for DreamLightingQuality
Source§impl Serialize for DreamLightingQuality
impl Serialize for DreamLightingQuality
impl Copy for DreamLightingQuality
impl Eq for DreamLightingQuality
impl StructuralPartialEq for DreamLightingQuality
Auto Trait Implementations§
impl Freeze for DreamLightingQuality
impl RefUnwindSafe for DreamLightingQuality
impl Send for DreamLightingQuality
impl Sync for DreamLightingQuality
impl Unpin for DreamLightingQuality
impl UnsafeUnpin for DreamLightingQuality
impl UnwindSafe for DreamLightingQuality
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more