pub struct ImageView { /* private fields */ }
Expand description
Implementations§
Trait Implementations§
source§impl Attachment for ImageView
impl Attachment for ImageView
source§fn eq(&self, view: &ImageView) -> bool
fn eq(&self, view: &ImageView) -> bool
Returns if this attachment is equivalent to image view. Read more
source§fn max_extent(&self) -> Extent2
fn max_extent(&self) -> Extent2
Maximum extend of the image view that can be make for this attachment.
source§fn get_view(
&self,
_device: &Device,
usage: ImageUsage,
extent: Extent2
) -> Result<ImageView, OutOfMemory>
fn get_view(
&self,
_device: &Device,
usage: ImageUsage,
extent: Extent2
) -> Result<ImageView, OutOfMemory>
Returns image view with specified usage and extent for this attachment.