pub enum RayTracingMode {
Off,
ShadowsOnly,
ShadowsAndReflections,
FullPathTracedGi,
}Expand description
Hardware/BVH ray-tracing pipeline mode adjustable live at runtime.
Variants§
Off
Rasterized PBR shading with analytic directional lighting only.
ShadowsOnly
BVH-accelerated ray-traced directional sun shadows.
ShadowsAndReflections
BVH ray-traced shadows plus glossy/mirror PBR surface reflections.
FullPathTracedGi
Full ray-traced shadows, reflections, and hemisphere ambient occlusion / 1-bounce GI.
Trait Implementations§
Source§impl Clone for RayTracingMode
impl Clone for RayTracingMode
impl Copy for RayTracingMode
Source§impl Debug for RayTracingMode
impl Debug for RayTracingMode
Source§impl Default for RayTracingMode
impl Default for RayTracingMode
impl Eq for RayTracingMode
Source§impl Hash for RayTracingMode
impl Hash for RayTracingMode
Source§impl PartialEq for RayTracingMode
impl PartialEq for RayTracingMode
impl StructuralPartialEq for RayTracingMode
Auto Trait Implementations§
impl Forget for RayTracingMode
impl Freeze for RayTracingMode
impl Move for RayTracingMode
impl RefUnwindSafe for RayTracingMode
impl Send for RayTracingMode
impl Sync for RayTracingMode
impl Unpin for RayTracingMode
impl UnsafeUnpin for RayTracingMode
impl UnwindSafe for RayTracingMode
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