Trait vulkano::image::traits::ImageContent
[−]
[src]
pub unsafe trait ImageContent<P>: Image { 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 AttachmentImage<F, A> where F: 'static + Send + Sync, A: MemoryPool
impl<P, F, A> ImageContent<P> for ImmutableImage<F, A> where F: 'static + Send + Sync, A: MemoryPool
impl<P> ImageContent<P> for SwapchainImage