Enum vulkano::descriptor_set::layout::DescriptorRequirementsNotMet [−][src]
pub enum DescriptorRequirementsNotMet {
DescriptorType {
required: Vec<DescriptorType>,
obtained: DescriptorType,
},
DescriptorCount {
required: u32,
obtained: u32,
},
ShaderStages {
required: ShaderStages,
obtained: ShaderStages,
},
}
Expand description
Error when checking whether the requirements for a descriptor have been met.
Variants
DescriptorType
The descriptor’s type is not one of those required.
DescriptorCount
The descriptor count is less than what is required.
ShaderStages
The descriptor’s shader stages do not contain the stages that are required.
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 Send for DescriptorRequirementsNotMet
impl Sync for DescriptorRequirementsNotMet
impl Unpin for DescriptorRequirementsNotMet
impl UnwindSafe for DescriptorRequirementsNotMet
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.