Struct vulkano::descriptor_set::layout::DescriptorDescImage [−][src]
pub struct DescriptorDescImage {
pub format: Option<Format>,
pub multisampled: bool,
pub view_type: ImageViewType,
}
Expand description
Additional description for descriptors that contain images.
Fields
format: Option<Format>
The image format that is required for an attached image, or None
no particular format is required.
multisampled: bool
True if the image is multisampled.
view_type: ImageViewType
The type of image view that must be attached to this descriptor.
Implementations
pub fn ensure_superset_of(
&self,
other: &DescriptorDescImage
) -> Result<(), DescriptorCompatibilityError>
pub fn ensure_superset_of(
&self,
other: &DescriptorDescImage
) -> Result<(), DescriptorCompatibilityError>
Checks whether we are a superset of another image.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DescriptorDescImage
impl Send for DescriptorDescImage
impl Sync for DescriptorDescImage
impl Unpin for DescriptorDescImage
impl UnwindSafe for DescriptorDescImage
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.