pub struct PlannedIsolatedComposite {
pub pass_id: OffscreenPassId,
pub dest_rect_px: Rect,
pub opacity: f32,
pub blend_mode: BlendMode,
pub needs_dst_capture: bool,
pub dst_capture_rect_px: Option<Rect>,
pub vertex_range: Range<u32>,
}Expand description
Composite batch inserted into the main pass plan.
§Examples
use ailloli_ui_render_wgpu::isolated_plan::PlannedIsolatedComposite;
let _: usize = std::mem::size_of::<PlannedIsolatedComposite>();Fields§
§pass_id: OffscreenPassIdOffscreen pass whose output is sampled.
dest_rect_px: RectDestination in physical framebuffer pixels.
opacity: f32Group opacity multiplier applied by the composite shader.
blend_mode: BlendModeEffective blend operation after any budget downgrade.
needs_dst_capture: boolCapture swapchain dst for shader blend (root, non-Normal only).
dst_capture_rect_px: Option<Rect>Physical destination region copied when destination-aware blending is active.
vertex_range: Range<u32>Trait Implementations§
Source§impl Clone for PlannedIsolatedComposite
impl Clone for PlannedIsolatedComposite
Source§fn clone(&self) -> PlannedIsolatedComposite
fn clone(&self) -> PlannedIsolatedComposite
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlannedIsolatedComposite
impl Debug for PlannedIsolatedComposite
Source§impl PartialEq for PlannedIsolatedComposite
impl PartialEq for PlannedIsolatedComposite
impl StructuralPartialEq for PlannedIsolatedComposite
Auto Trait Implementations§
impl Freeze for PlannedIsolatedComposite
impl RefUnwindSafe for PlannedIsolatedComposite
impl Send for PlannedIsolatedComposite
impl Sync for PlannedIsolatedComposite
impl Unpin for PlannedIsolatedComposite
impl UnwindSafe for PlannedIsolatedComposite
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
§fn into_click_action(self) -> ClickAction<A>
fn into_click_action(self) -> ClickAction<A>
Implements the into_click_action helper used by this module.
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more