pub struct RrCfg {
pub levels: u32,
pub sn2: f32,
pub sp2: f32,
pub sa2: f32,
pub tau0: f32,
pub floor: f32,
}Expand description
Filter-Konditionen — Signaturen im Quadrat, damit das Gewicht
rational bleibt (kein exp). Kernvertrag mit rr.wgsl.
Fields§
§levels: u32À-Trous-Stufen (Schrittweiten 1, 2, 4, …, 2^(levels−1))
sn2: f32Normale-Signatur²: 1 − cos zwischen Führungen
sp2: f32Ebenabstands-Signatur²: lotrechter Abstand des Nachbarn von der Tangentalebene der Mitte, normiert auf die Tiefe — eine zusammenhängende Fläche hat überall 0, eine Okklusionskante sprungartige Werte
sa2: f32Albedo-Signatur²: relative Farb-Differenz
tau0: f32Schwellwurf: tau = tau0 · s · (|lum| + floor) mit s = 1/sqrt(pass)
floor: f32Helligkeits-Untergrenze der Schwelle (dunkle Pixel brauchen eine eigene Rauschfloor-Skala)
Trait Implementations§
impl Copy for RrCfg
impl StructuralPartialEq for RrCfg
Auto Trait Implementations§
impl Freeze for RrCfg
impl RefUnwindSafe for RrCfg
impl Send for RrCfg
impl Sync for RrCfg
impl Unpin for RrCfg
impl UnsafeUnpin for RrCfg
impl UnwindSafe for RrCfg
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