Trait sierra::Attachment [−][src]
pub trait Attachment { fn samples(&self) -> Option<Samples>; fn format(&self) -> Format; fn eq(&self, view: &ImageView) -> bool; fn max_extent(&self) -> Extent2d; fn get_view(
&self,
device: &Device,
usage: ImageUsage,
extent: Extent2d
) -> Result<ImageView, CreateImageError>; }
Expand description
Trait for types that can be used for attachments in declarative render-pass.