pub struct CacheProbe {
pub pos: V3,
pub n: V3,
pub dirs: Vec<V3>,
pub rad: V3,
}Expand description
Eine Sonde: Ort, Normale (Referenz-Atmosphäre — Datenträger, der Shader rechnet sie nie nach) und ihr Hemisphären-Strahlbundle.
Fields§
§pos: V3§n: V3§dirs: Vec<V3>§rad: V3Gesammelte Radiance (Ein-Bounce + Himmel), das Sammelergebnis.
Trait Implementations§
Source§impl Clone for CacheProbe
impl Clone for CacheProbe
Source§fn clone(&self) -> CacheProbe
fn clone(&self) -> CacheProbe
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CacheProbe
impl Debug for CacheProbe
Source§impl PartialEq for CacheProbe
impl PartialEq for CacheProbe
Source§fn eq(&self, other: &CacheProbe) -> bool
fn eq(&self, other: &CacheProbe) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CacheProbe
Auto Trait Implementations§
impl Freeze for CacheProbe
impl RefUnwindSafe for CacheProbe
impl Send for CacheProbe
impl Sync for CacheProbe
impl Unpin for CacheProbe
impl UnsafeUnpin for CacheProbe
impl UnwindSafe for CacheProbe
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