pub enum DescriptorSetUpdateError {
Show 13 variants
RequirementNotMet {
binding: u32,
index: u32,
required_for: &'static str,
requires_one_of: RequiresOneOf,
},
ArrayIndexOutOfBounds {
binding: u32,
available_count: u32,
written_count: u32,
},
ImageView2dFrom3d {
binding: u32,
index: u32,
},
ImageViewDepthAndStencil {
binding: u32,
index: u32,
},
ImageViewHasSamplerYcbcrConversion {
binding: u32,
index: u32,
},
ImageViewIsArrayed {
binding: u32,
index: u32,
},
ImageViewIncompatibleSampler {
binding: u32,
index: u32,
error: SamplerImageViewIncompatibleError,
},
ImageViewNotIdentitySwizzled {
binding: u32,
index: u32,
},
IncompatibleDescriptorType {
binding: u32,
},
InvalidBinding {
binding: u32,
},
MissingUsage {
binding: u32,
index: u32,
usage: &'static str,
},
SamplerHasSamplerYcbcrConversion {
binding: u32,
index: u32,
},
SamplerIsImmutable {
binding: u32,
},
}
Variants
RequirementNotMet
ArrayIndexOutOfBounds
Fields
binding: u32
Binding that is affected.
available_count: u32
Number of available descriptors in the binding.
written_count: u32
The number of descriptors that were in the update.
Tried to write more elements than were available in a binding.
ImageView2dFrom3d
Tried to write an image view with a 2D type and a 3D underlying image.
ImageViewDepthAndStencil
Tried to write an image view that has both the depth
and stencil
aspects.
ImageViewHasSamplerYcbcrConversion
Tried to write an image view with an attached sampler YCbCr conversion to a binding that does not support it.
ImageViewIsArrayed
Tried to write an image view of an arrayed type to a descriptor type that does not support it.
ImageViewIncompatibleSampler
Tried to write an image view that was not compatible with the sampler that was provided as part of the update or immutably in the layout.
ImageViewNotIdentitySwizzled
Tried to write an image view to a descriptor type that requires it to be identity swizzled, but it was not.
IncompatibleDescriptorType
Fields
binding: u32
Tried to write an element type that was not compatible with the descriptor type in the layout.
InvalidBinding
Fields
binding: u32
Tried to write to a nonexistent binding.
MissingUsage
A resource was missing a usage flag that was required.
SamplerHasSamplerYcbcrConversion
Tried to write a sampler that has an attached sampler YCbCr conversion.
SamplerIsImmutable
Fields
binding: u32
Tried to write a sampler to a binding with immutable samplers.
Trait Implementations
sourceimpl Clone for DescriptorSetUpdateError
impl Clone for DescriptorSetUpdateError
sourcefn clone(&self) -> DescriptorSetUpdateError
fn clone(&self) -> DescriptorSetUpdateError
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more