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

Object that represents a GPU access to the image.

Required Methods

Builds an object that represents a GPU access to the image.

Returns the format of this image.

Returns the number of samples of this image.

Returns the dimensions of the image.

Implementors