Struct sierra::ImageViewInfo
source · pub struct ImageViewInfo {
pub view_kind: ImageViewKind,
pub range: SubresourceRange,
pub image: Image,
pub mapping: ComponentMapping,
}
Expand description
Information required to create an image view.
Fields§
§view_kind: ImageViewKind
Kind of the view.
range: SubresourceRange
Subresource of the image view is bound to.
image: Image
An image view is bound to.
mapping: ComponentMapping
Defines remapping of color components.
Implementations§
source§impl ImageViewInfo
impl ImageViewInfo
Trait Implementations§
source§impl Clone for ImageViewInfo
impl Clone for ImageViewInfo
source§fn clone(&self) -> ImageViewInfo
fn clone(&self) -> ImageViewInfo
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 moresource§impl Debug for ImageViewInfo
impl Debug for ImageViewInfo
source§impl Hash for ImageViewInfo
impl Hash for ImageViewInfo
source§impl PartialEq<ImageViewInfo> for ImageViewInfo
impl PartialEq<ImageViewInfo> for ImageViewInfo
source§fn eq(&self, other: &ImageViewInfo) -> bool
fn eq(&self, other: &ImageViewInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.