Struct wgpu_core::command::memory_init::TextureSurfaceDiscard
source · 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: u32
Trait Implementations§
source§impl Clone for TextureSurfaceDiscard
impl Clone for TextureSurfaceDiscard
source§fn clone(&self) -> TextureSurfaceDiscard
fn clone(&self) -> TextureSurfaceDiscard
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 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