pub struct RaytraceConfig { /* private fields */ }Expand description
Complete configuration descriptor for a reusable RaytraceSession.
Implementations§
Source§impl RaytraceConfig
Constructors and fluent configuration helpers for RaytraceConfig.
impl RaytraceConfig
Constructors and fluent configuration helpers for RaytraceConfig.
Sourcepub fn with_integrator(self, integrator: RtIntegratorMode) -> Self
pub fn with_integrator(self, integrator: RtIntegratorMode) -> Self
Sourcepub fn with_tonemap(self, tonemap: RtTonemapMode) -> Self
pub fn with_tonemap(self, tonemap: RtTonemapMode) -> Self
Sourcepub fn with_exposure(self, exposure: f32) -> Self
pub fn with_exposure(self, exposure: f32) -> Self
Sourcepub fn with_tile_size(self, tile_size: u32) -> Self
pub fn with_tile_size(self, tile_size: u32) -> Self
Sourcepub fn with_denoiser(self, enabled: bool) -> Self
pub fn with_denoiser(self, enabled: bool) -> Self
Sourcepub fn with_svgf(self, svgf: SvgfConfig) -> Self
pub fn with_svgf(self, svgf: SvgfConfig) -> Self
Source§impl RaytraceConfig
Implements impl #impl_generics #name #ty_generics #where_clause.
impl RaytraceConfig
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_width(&self) -> u32
pub fn get_mut_width(&mut self) -> &mut u32
pub fn set_width(&mut self, val: u32) -> &mut Self
pub fn get_height(&self) -> u32
pub fn get_mut_height(&mut self) -> &mut u32
pub fn set_height(&mut self, val: u32) -> &mut Self
pub fn get_integrator(&self) -> RtIntegratorMode
pub fn get_mut_integrator(&mut self) -> &mut RtIntegratorMode
pub fn set_integrator(&mut self, val: RtIntegratorMode) -> &mut Self
pub fn get_tonemap(&self) -> RtTonemapMode
pub fn get_mut_tonemap(&mut self) -> &mut RtTonemapMode
pub fn set_tonemap(&mut self, val: RtTonemapMode) -> &mut Self
pub fn get_exposure(&self) -> f32
pub fn get_mut_exposure(&mut self) -> &mut f32
pub fn set_exposure(&mut self, val: f32) -> &mut Self
pub fn get_tile_size(&self) -> u32
pub fn get_mut_tile_size(&mut self) -> &mut u32
pub fn set_tile_size(&mut self, val: u32) -> &mut Self
pub fn get_enable_denoiser(&self) -> bool
pub fn get_mut_enable_denoiser(&mut self) -> &mut bool
pub fn set_enable_denoiser(&mut self, val: bool) -> &mut Self
pub fn get_whitted(&self) -> WhittedIntegrator
pub fn get_mut_whitted(&mut self) -> &mut WhittedIntegrator
pub fn set_whitted(&mut self, val: WhittedIntegrator) -> &mut Self
pub fn get_path_trace(&self) -> PathTraceIntegrator
pub fn get_mut_path_trace(&mut self) -> &mut PathTraceIntegrator
pub fn set_path_trace(&mut self, val: PathTraceIntegrator) -> &mut Self
pub fn get_rtao(&self) -> RtaoIntegrator
pub fn get_mut_rtao(&mut self) -> &mut RtaoIntegrator
pub fn set_rtao(&mut self, val: RtaoIntegrator) -> &mut Self
pub fn get_hybrid_preview(&self) -> HybridPreviewIntegrator
pub fn get_mut_hybrid_preview(&mut self) -> &mut HybridPreviewIntegrator
pub fn set_hybrid_preview(&mut self, val: HybridPreviewIntegrator) -> &mut Self
pub fn get_svgf(&self) -> SvgfConfig
pub fn get_mut_svgf(&mut self) -> &mut SvgfConfig
pub fn set_svgf(&mut self, val: SvgfConfig) -> &mut Self
pub fn get_seed(&self) -> u32
pub fn get_mut_seed(&mut self) -> &mut u32
pub fn set_seed(&mut self, val: u32) -> &mut Self
Trait Implementations§
Source§impl Clone for RaytraceConfig
impl Clone for RaytraceConfig
impl Copy for RaytraceConfig
Source§impl Debug for RaytraceConfig
impl Debug for RaytraceConfig
Source§impl Default for RaytraceConfig
Default session configuration targeting interactive path tracing with AgX tone mapping and SVGF denoising.
impl Default for RaytraceConfig
Default session configuration targeting interactive path tracing with AgX tone mapping and SVGF denoising.
Source§impl PartialEq for RaytraceConfig
impl PartialEq for RaytraceConfig
impl StructuralPartialEq for RaytraceConfig
Auto Trait Implementations§
impl Forget for RaytraceConfig
impl Freeze for RaytraceConfig
impl Move for RaytraceConfig
impl RefUnwindSafe for RaytraceConfig
impl Send for RaytraceConfig
impl Sync for RaytraceConfig
impl Unpin for RaytraceConfig
impl UnsafeUnpin for RaytraceConfig
impl UnwindSafe for RaytraceConfig
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