Trait vulkano::image::traits::Image
[−]
[src]
pub unsafe trait Image { type Access: ImageAccess; fn access(self) -> Self::Access; fn format(&self) -> Format; fn samples(&self) -> u32; fn dimensions(&self) -> ImageDimensions; }
Trait for types that represent images.
Associated Types
type Access: ImageAccess
Object that represents a GPU access to the image.
Required Methods
fn access(self) -> Self::Access
Builds an object that represents a GPU access to the image.
fn format(&self) -> Format
Returns the format of this image.
fn samples(&self) -> u32
Returns the number of samples of this image.
fn dimensions(&self) -> ImageDimensions
Returns the dimensions of the image.
Implementors
impl<F, A> Image for Arc<AttachmentImage<F, A>> where
F: 'static + Send + Sync,impl<F, A> Image for Arc<ImmutableImage<F, A>> where
F: 'static + Send + Sync,
A: MemoryPool,impl<F, A> Image for Arc<StorageImage<F, A>> where
F: 'static + Send + Sync,
A: MemoryPool,impl Image for SwapchainImage
impl Image for Arc<SwapchainImage>