[][src]Trait vulkano::image::traits::ImageClearValue

pub unsafe trait ImageClearValue<T>: ImageAccess {
    fn decode(&self, _: T) -> Option<ClearValue>;
}

Extension trait for images. Checks whether the value T can be used as a clear value for the given image.

Required methods

fn decode(&self, _: T) -> Option<ClearValue>

Loading content...

Implementations on Foreign Types

impl<F, A> ImageClearValue<<F as FormatDesc>::ClearValue> for Arc<AttachmentImage<F, A>> where
    F: FormatDesc + 'static + Send + Sync
[src]

Loading content...

Implementors

impl<F, A> ImageClearValue<<F as FormatDesc>::ClearValue> for StorageImage<F, A> where
    F: FormatDesc + 'static + Send + Sync,
    A: MemoryPool
[src]

impl<W> ImageClearValue<<Format as FormatDesc>::ClearValue> for SwapchainImage<W>[src]

Loading content...