pub struct HybridPreviewIntegrator { /* private fields */ }Expand description
Fast 1-spp hybrid interactive preview integrator emitting direct radiance plus full G-buffers for real-time camera orbit.
Implementations§
Source§impl HybridPreviewIntegrator
Fast 1-spp G-buffer and direct-lighting preview tracing for HybridPreviewIntegrator.
impl HybridPreviewIntegrator
Fast 1-spp G-buffer and direct-lighting preview tracing for HybridPreviewIntegrator.
Sourcepub fn trace_ray(
&self,
scene: &RaytraceScene,
ray: &Ray3D,
rng: &mut RtRng,
counter: &mut RtRayCounter,
) -> RtSampleOutput
pub fn trace_ray( &self, scene: &RaytraceScene, ray: &Ray3D, rng: &mut RtRng, counter: &mut RtRayCounter, ) -> RtSampleOutput
Traces a single primary ray with fast direct lighting and emits full G-buffers for interactive orbit.
§Arguments
&Self- Hybrid preview integrator configuration.&RaytraceScene- Scene to intersect.&Ray3D- Primary camera ray.&mut RtRng- Deterministic RNG.&mut RtRayCounter- Telemetry ray counter.
§Returns
RtSampleOutput- Fast 1-spp radiance plus primary albedo, world normal, and linear depth.
Source§impl HybridPreviewIntegrator
Implements impl #impl_generics #name #ty_generics #where_clause.
impl HybridPreviewIntegrator
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_ambient_scale(&self) -> f32
pub fn get_mut_ambient_scale(&mut self) -> &mut f32
pub fn set_ambient_scale(&mut self, val: f32) -> &mut Self
pub fn get_shadow_enabled(&self) -> bool
pub fn get_mut_shadow_enabled(&mut self) -> &mut bool
pub fn set_shadow_enabled(&mut self, val: bool) -> &mut Self
pub fn get_firefly_clamp(&self) -> f32
pub fn get_mut_firefly_clamp(&mut self) -> &mut f32
pub fn set_firefly_clamp(&mut self, val: f32) -> &mut Self
Trait Implementations§
Source§impl Clone for HybridPreviewIntegrator
impl Clone for HybridPreviewIntegrator
impl Copy for HybridPreviewIntegrator
Source§impl Debug for HybridPreviewIntegrator
impl Debug for HybridPreviewIntegrator
Source§impl Default for HybridPreviewIntegrator
Default configuration for HybridPreviewIntegrator.
impl Default for HybridPreviewIntegrator
Default configuration for HybridPreviewIntegrator.
Source§impl PartialEq for HybridPreviewIntegrator
impl PartialEq for HybridPreviewIntegrator
impl StructuralPartialEq for HybridPreviewIntegrator
Auto Trait Implementations§
impl Forget for HybridPreviewIntegrator
impl Freeze for HybridPreviewIntegrator
impl Move for HybridPreviewIntegrator
impl RefUnwindSafe for HybridPreviewIntegrator
impl Send for HybridPreviewIntegrator
impl Sync for HybridPreviewIntegrator
impl Unpin for HybridPreviewIntegrator
impl UnsafeUnpin for HybridPreviewIntegrator
impl UnwindSafe for HybridPreviewIntegrator
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