pub struct RtSampleOutput { /* private fields */ }Expand description
Single-pixel traced output pairing sanitized HDR radiance with primary G-buffer attributes for SVGF denoising.
Implementations§
Source§impl RtSampleOutput
Implements impl #impl_generics #name #ty_generics #where_clause.
impl RtSampleOutput
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_radiance(&self) -> Vec3
pub fn get_mut_radiance(&mut self) -> &mut Vec3
pub fn set_radiance(&mut self, val: Vec3) -> &mut Self
pub fn get_albedo(&self) -> Vec3
pub fn get_mut_albedo(&mut self) -> &mut Vec3
pub fn set_albedo(&mut self, val: Vec3) -> &mut Self
pub fn get_normal(&self) -> Vec3
pub fn get_mut_normal(&mut self) -> &mut Vec3
pub fn set_normal(&mut self, val: Vec3) -> &mut Self
pub fn get_depth(&self) -> f32
pub fn get_mut_depth(&mut self) -> &mut f32
pub fn set_depth(&mut self, val: f32) -> &mut Self
pub fn get_hit(&self) -> bool
pub fn get_mut_hit(&mut self) -> &mut bool
pub fn set_hit(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for RtSampleOutput
impl Clone for RtSampleOutput
impl Copy for RtSampleOutput
Source§impl Debug for RtSampleOutput
impl Debug for RtSampleOutput
Source§impl Default for RtSampleOutput
impl Default for RtSampleOutput
Source§impl PartialEq for RtSampleOutput
impl PartialEq for RtSampleOutput
impl StructuralPartialEq for RtSampleOutput
Auto Trait Implementations§
impl Forget for RtSampleOutput
impl Freeze for RtSampleOutput
impl Move for RtSampleOutput
impl RefUnwindSafe for RtSampleOutput
impl Send for RtSampleOutput
impl Sync for RtSampleOutput
impl Unpin for RtSampleOutput
impl UnsafeUnpin for RtSampleOutput
impl UnwindSafe for RtSampleOutput
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