[][src]Struct pbrt::core::film::FilmTile

pub struct FilmTile<'ft> { /* fields omitted */ }

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.