pub struct PtCfg {
pub max_depth: u32,
pub eps_hit: f32,
pub eps_step: f32,
pub tmax: f32,
pub max_steps: u32,
pub sky: V3,
pub seed: u32,
}Expand description
Such- und Streuparameter — identisch auf beiden Seiten.
Fields§
§max_depth: u32maximale Streutiefe (Anzahl diffuser Strecken)
eps_hit: f32§eps_step: f32§tmax: f32§max_steps: u32§sky: V3Himmelsstrahlung beim Ausstieg
seed: u32Stromwurzel über alle Pixel und Pässe
Trait Implementations§
impl Copy for PtCfg
impl StructuralPartialEq for PtCfg
Auto Trait Implementations§
impl Freeze for PtCfg
impl RefUnwindSafe for PtCfg
impl Send for PtCfg
impl Sync for PtCfg
impl Unpin for PtCfg
impl UnsafeUnpin for PtCfg
impl UnwindSafe for PtCfg
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