Struct wgpu_hal::TextureCopyBase
source · pub struct TextureCopyBase {
pub mip_level: u32,
pub array_layer: u32,
pub origin: Origin3d,
pub aspect: FormatAspects,
}
Fields§
§mip_level: u32
§array_layer: u32
§origin: Origin3d
Origin within a texture. Note: for 1D and 2D textures, Z must be 0.
aspect: FormatAspects
Implementations§
source§impl TextureCopyBase
impl TextureCopyBase
pub fn max_copy_size(&self, full_size: &CopyExtent) -> CopyExtent
Trait Implementations§
source§impl Clone for TextureCopyBase
impl Clone for TextureCopyBase
source§fn clone(&self) -> TextureCopyBase
fn clone(&self) -> TextureCopyBase
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 more