pub struct ViewDesc {
pub dim: ViewDim,
pub base_mip: u32,
pub mips: u32,
pub base_layer: u32,
pub layers: u32,
}Expand description
Texture::create_view: a range of mips and layers (counts 0 = to the end)
Fields§
§dim: ViewDim§base_mip: u32§mips: u32§base_layer: u32§layers: u32Trait Implementations§
Auto Trait Implementations§
impl Forget for ViewDesc
impl Freeze for ViewDesc
impl RefUnwindSafe for ViewDesc
impl Send for ViewDesc
impl Sync for ViewDesc
impl Unpin for ViewDesc
impl UnsafeUnpin for ViewDesc
impl UnwindSafe for ViewDesc
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