[−][src]Struct pbrt::core::film::FilmTile
FilmTile represents a subarea of Film
within the Film
's configured sampling bounds. It
allows rendering of portions of the Film
to be handed off to separate threads, and the final
assembly of the full image is handled by passing the FilmTile
back to the Film
via
merge_film_tile
Methods
impl<'ft> FilmTile<'ft>
[src]
pub fn get_pixel_bounds(&self) -> Bounds2i
[src]
Get the pixel bounds for this tile. For example see get_film_tile.
pub fn get_pixel(&self, p: Point2i) -> &FilmTilePixel
[src]
get_pixel returns the FilmTile
value at the given p
pub fn get_pixel_mut(&mut self, p: Point2i) -> &mut FilmTilePixel
[src]
get_pixel_mut returns a mutable FilmTile
value at the given p
Auto Trait Implementations
impl<'ft> RefUnwindSafe for FilmTile<'ft>
impl<'ft> Send for FilmTile<'ft>
impl<'ft> Sync for FilmTile<'ft>
impl<'ft> Unpin for FilmTile<'ft>
impl<'ft> UnwindSafe for FilmTile<'ft>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,