pub struct LayerPlan {
pub begin_index: usize,
pub end_index: usize,
pub origin: [u32; 2],
pub size: [u32; 2],
pub parameters: [[[f32; 4]; 6]; 4],
pub blur_radius: f32,
pub blur_size: [u32; 2],
pub revision: Arc<[u64]>,
pub reusable: bool,
}Expand description
Checked capture plan, independent of the GPU backend.
Fields§
§begin_index: usizeBegin marker index in Scene::layer_boundaries.
end_index: usizeEnd marker index in Scene::layer_boundaries.
origin: [u32; 2]Source rectangle origin.
size: [u32; 2]Physical texture extent.
parameters: [[[f32; 4]; 6]; 4]Clear, composition, horizontal and vertical blur blocks (six float4 each).
blur_radius: f32Device-pixel Gaussian support radius; zero skips filter passes.
blur_size: [u32; 2]Horizontal and vertical filter target extent.
revision: Arc<[u64]>Exact immutable command identities; preserved by Scene::replay.
reusable: boolLive external content cannot use retained filtered results.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LayerPlan
impl RefUnwindSafe for LayerPlan
impl Send for LayerPlan
impl Sync for LayerPlan
impl Unpin for LayerPlan
impl UnsafeUnpin for LayerPlan
impl UnwindSafe for LayerPlan
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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