[−][src]Trait vulkano::image::traits::ImageClearValue
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>
Implementations on Foreign Types
impl<F, A> ImageClearValue<<F as FormatDesc>::ClearValue> for Arc<AttachmentImage<F, A>> where
F: FormatDesc + 'static + Send + Sync,
[src]
F: FormatDesc + 'static + Send + Sync,
fn decode(&self, value: F::ClearValue) -> Option<ClearValue>
[src]
Implementors
impl<F, A> ImageClearValue<<F as FormatDesc>::ClearValue> for StorageImage<F, A> where
F: FormatDesc + 'static + Send + Sync,
A: MemoryPool,
[src]
F: FormatDesc + 'static + Send + Sync,
A: MemoryPool,
fn decode(&self, value: F::ClearValue) -> Option<ClearValue>
[src]
impl<W> ImageClearValue<<Format as FormatDesc>::ClearValue> for SwapchainImage<W>
[src]
fn decode(
&self,
value: <Format as FormatDesc>::ClearValue
) -> Option<ClearValue>
[src]
&self,
value: <Format as FormatDesc>::ClearValue
) -> Option<ClearValue>