pub struct FilterPassPlan<'a> {
pub label: &'a str,
pub pipeline: &'a RenderPipeline,
pub dest: &'a TextureView,
pub source: &'a TextureView,
pub instance: u32,
}Expand description
One filter pass’s full recording state.
The two pages are named as views rather than as parities because
FilterResources holds no pool: which texture each group is holding is the
caller’s bookkeeping, whether that caller is the frame path or a test.
Fields§
§label: &'a strLabel for captures and validation messages.
pipeline: &'a RenderPipelineThe pipeline EnginePipeline::Filter describes.
dest: &'a TextureViewThe page this pass writes. Cleared to transparent before it is written.
source: &'a TextureViewThe page this pass reads — the one the pass before it wrote.
instance: u32Which instance of the filter instance buffer this pass draws.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FilterPassPlan<'a>
impl<'a> !UnwindSafe for FilterPassPlan<'a>
impl<'a> Freeze for FilterPassPlan<'a>
impl<'a> Send for FilterPassPlan<'a>
impl<'a> Sync for FilterPassPlan<'a>
impl<'a> Unpin for FilterPassPlan<'a>
impl<'a> UnsafeUnpin for FilterPassPlan<'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