#[non_exhaustive]pub enum PassNode {
Render {
target: RenderTargetId,
size: Size,
blend: BlendMode,
items: Range<usize>,
},
Present {
items: Range<usize>,
},
}Expand description
One pass of a render-target plan built by RenderList::target_plan.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Render
Renders a range of items into an offscreen target.
Fields
§
target: RenderTargetIdTarget that receives the items.
Present
Renders a range of items into the destination surface.
Trait Implementations§
impl StructuralPartialEq for PassNode
Auto Trait Implementations§
impl Freeze for PassNode
impl RefUnwindSafe for PassNode
impl Send for PassNode
impl Sync for PassNode
impl Unpin for PassNode
impl UnsafeUnpin for PassNode
impl UnwindSafe for PassNode
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