pub struct Bound<'a> { /* private fields */ }Expand description
The buffers a program reads, ready for runs: built once per program and reused for every pixel.
Implementations§
Source§impl Bound<'_>
impl Bound<'_>
Sourcepub fn with_scene(self, id: ResourceId, scene: Arc<Built>) -> Self
pub fn with_scene(self, id: ResourceId, scene: Arc<Built>) -> Self
Give the acceleration structure of resource id: what the program’s ray queries search.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Bound<'a>
impl<'a> RefUnwindSafe for Bound<'a>
impl<'a> Send for Bound<'a>
impl<'a> Sync for Bound<'a>
impl<'a> Unpin for Bound<'a>
impl<'a> UnsafeUnpin for Bound<'a>
impl<'a> UnwindSafe for Bound<'a>
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