Trait vulkano::image::traits::ImageContent
[−]
[src]
pub unsafe trait ImageContent<P>: ImageAccess { fn matches_format(&self) -> bool; }
Required Methods
fn matches_format(&self) -> bool
Checks whether pixels of type P
match the format of the image.
Implementors
impl<P, F, A> ImageContent<P> for Arc<AttachmentImage<F, A>> where
F: 'static + Send + Sync,impl<P, F, A> ImageContent<P> for ImmutableImage<F, A> where
F: 'static + Send + Sync,
A: MemoryPool,impl<P, F, A> ImageContent<P> for StorageImage<F, A> where
F: 'static + Send + Sync,
A: MemoryPool,impl<P> ImageContent<P> for SwapchainImage