pub struct PyramidInputs<'p> {
pub levels: &'p [ImageId],
pub group: BindGroupHandle,
}Expand description
The farthest-depth pyramid a frame’s occlusion passes read — see
DrawGen::add_occlusion_passes.
Fields§
§levels: &'p [ImageId]Every distinct level image, as the graph knows it, so the two culls can declare their reads and the reduction passes their writes.
group: BindGroupHandleThe group naming those images at the slots cull.slang declares in set
1, built against DrawGen::occlusion_layout.
Trait Implementations§
Source§impl<'p> Clone for PyramidInputs<'p>
impl<'p> Clone for PyramidInputs<'p>
impl<'p> Copy for PyramidInputs<'p>
Auto Trait Implementations§
impl<'p> Freeze for PyramidInputs<'p>
impl<'p> RefUnwindSafe for PyramidInputs<'p>
impl<'p> Send for PyramidInputs<'p>
impl<'p> Sync for PyramidInputs<'p>
impl<'p> Unpin for PyramidInputs<'p>
impl<'p> UnsafeUnpin for PyramidInputs<'p>
impl<'p> UnwindSafe for PyramidInputs<'p>
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