Struct sierra::ImageInfo [−][src]
pub struct ImageInfo {
pub extent: ImageExtent,
pub format: Format,
pub levels: u32,
pub layers: u32,
pub samples: Samples,
pub usage: ImageUsage,
}
Expand description
Information required to create an image.
Fields
extent: ImageExtent
Dimensionality and size of those dimensions.
format: Format
Format for image texels.
levels: u32
Number of MIP levels.
layers: u32
Number of array layers.
samples: Samples
Number of samples per texel.
usage: ImageUsage
Usage types supported by image.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ImageInfo
impl UnwindSafe for ImageInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more