[][src]Struct vulkano::image::immutable::SubImage

pub struct SubImage { /* fields omitted */ }

Image whose purpose is to access only a part of one image, for any kind of access We define a part of one image here by a level of mipmap, or a layer of an array The image attribute must be an implementation of ImageAccess The mip_levels_access must be a range showing which mipmaps will be accessed The layer_levels_access must be a range showing which layers will be accessed The layout must be the layout of the image at the beginning and at the end of the command buffer

Implementations

impl SubImage[src]

pub fn new(
    image: Arc<dyn ImageAccess + Sync + Send>,
    mip_level: u32,
    mip_level_count: u32,
    layer_level: u32,
    layer_level_count: u32,
    layout: ImageLayout
) -> Arc<SubImage>
[src]

Trait Implementations

impl ImageAccess for SubImage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.