Struct solstrale::renderer::RenderProgress
source · pub struct RenderProgress {
pub progress: f64,
pub render_image: RgbImage,
}Expand description
progress reported back to the caller of the raytrace function
Fields§
§progress: f64progress is reported between 0 -> 1 and represents a percentage of completion
render_image: RgbImageOutput image so far, will be final when progress is 1
Auto Trait Implementations§
impl RefUnwindSafe for RenderProgress
impl Send for RenderProgress
impl Sync for RenderProgress
impl Unpin for RenderProgress
impl UnwindSafe for RenderProgress
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