Struct sierra::ImageSubresourceLayers[][src]

pub struct ImageSubresourceLayers {
    pub aspect: AspectFlags,
    pub level: u32,
    pub first_layer: u32,
    pub layer_count: u32,
}

Subresorce layers of the image. Unlike ImageSubresourceRange it specifies only single mip-level. Used in image copy operations.

Fields

aspect: AspectFlagslevel: u32first_layer: u32layer_count: u32

Implementations

impl ImageSubresourceLayers[src]

pub fn new(aspect: AspectFlags, level: u32, layers: Range<u32>) -> Self[src]

pub fn all_layers(info: &ImageInfo, level: u32) -> Self[src]

pub fn color(level: u32, layers: Range<u32>) -> Self[src]

pub fn depth(level: u32, layers: Range<u32>) -> Self[src]

pub fn stencil(level: u32, layers: Range<u32>) -> Self[src]

pub fn depth_stencil(level: u32, layers: Range<u32>) -> Self[src]

Trait Implementations

impl Clone for ImageSubresourceLayers[src]

impl Copy for ImageSubresourceLayers[src]

impl Debug for ImageSubresourceLayers[src]

impl Eq for ImageSubresourceLayers[src]

impl Hash for ImageSubresourceLayers[src]

impl PartialEq<ImageSubresourceLayers> for ImageSubresourceLayers[src]

impl StructuralEq for ImageSubresourceLayers[src]

impl StructuralPartialEq for ImageSubresourceLayers[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> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.