Enum rustic_zen::scene::RenderConstraint
source · pub enum RenderConstraint {
Count(usize),
TimeMS(usize),
}
Expand description
Render termination predicate.
Variants§
Count(usize)
Render Will terminate after a fixed number of rays have been generated by the light sources. This value does not count rays generated by bounces.
TimeMS(usize)
Render will terminate after a fixed number of miliseconds.
Trait Implementations§
source§impl Clone for RenderConstraint
impl Clone for RenderConstraint
source§fn clone(&self) -> RenderConstraint
fn clone(&self) -> RenderConstraint
Returns a copy of the value. Read more
1.0.0 · 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 RenderConstraint
impl Debug for RenderConstraint
source§impl From<usize> for RenderConstraint
impl From<usize> for RenderConstraint
impl Copy for RenderConstraint
Auto Trait Implementations§
impl Freeze for RenderConstraint
impl RefUnwindSafe for RenderConstraint
impl Send for RenderConstraint
impl Sync for RenderConstraint
impl Unpin for RenderConstraint
impl UnwindSafe for RenderConstraint
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