Struct asche::ImageDescriptor [−][src]
pub struct ImageDescriptor<'a> {Show fields
pub name: &'a str,
pub usage: ImageUsageFlags,
pub memory_location: MemoryLocation,
pub sharing_mode: SharingMode,
pub queues: QueueFlags,
pub image_type: ImageType,
pub format: Format,
pub extent: Extent3D,
pub mip_levels: u32,
pub array_layers: u32,
pub samples: SampleCountFlagBits,
pub tiling: ImageTiling,
pub initial_layout: ImageLayout,
pub flags: Option<ImageCreateFlags>,
}Expand description
Describes how an image should be configured.
Fields
name: &'a strName used for debugging.
usage: ImageUsageFlagsWhat is the image used for.
memory_location: MemoryLocationWhere should the image reside.
sharing_mode: SharingModeThe sharing mode between queues.
queues: QueueFlagsWhich queues should have access to it.
image_type: ImageTypeThe type of the image.
format: FormatThe format of the image.
extent: Extent3DThe extent of the image.
mip_levels: u32The count mips level.
array_layers: u32The count array layers.
samples: SampleCountFlagBitsSample count flags.
tiling: ImageTilingThe tiling used.
initial_layout: ImageLayoutThe initial format.
flags: Option<ImageCreateFlags>Additional flags.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for ImageDescriptor<'a>impl<'a> Send for ImageDescriptor<'a>impl<'a> Sync for ImageDescriptor<'a>impl<'a> Unpin for ImageDescriptor<'a>impl<'a> UnwindSafe for ImageDescriptor<'a>Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more