pub(crate) struct TextureSurfaceDiscard {
pub texture: Arc<Texture>,
pub mip_level: u32,
pub layer: u32,
}Expand description
Surface that was discarded by StoreOp::Discard of a preceding renderpass.
Any read access to this surface needs to be preceded by a texture initialization.
Fields§
§texture: Arc<Texture>§mip_level: u32§layer: u32Trait Implementations§
Source§impl Clone for TextureSurfaceDiscard
impl Clone for TextureSurfaceDiscard
Source§fn clone(&self) -> TextureSurfaceDiscard
fn clone(&self) -> TextureSurfaceDiscard
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for TextureSurfaceDiscard
impl !RefUnwindSafe for TextureSurfaceDiscard
impl Send for TextureSurfaceDiscard
impl Sync for TextureSurfaceDiscard
impl Unpin for TextureSurfaceDiscard
impl !UnwindSafe for TextureSurfaceDiscard
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,
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