Enum vulkano::command_buffer::validity::CheckDynamicStateValidityError [−][src]
pub enum CheckDynamicStateValidityError {
FeatureNotEnabled {
feature: &'static str,
reason: &'static str,
},
InvalidPrimitiveTopology {
topology: PrimitiveTopology,
reason: &'static str,
},
NotEnoughColorWriteEnable {
color_write_enable_count: u32,
attachment_count: u32,
},
NotSet {
dynamic_state: DynamicState,
},
ViewportScissorCountMismatch {
viewport_count: u32,
scissor_count: u32,
},
}
Expand description
Error that can happen when validating dynamic states.
Variants
FeatureNotEnabled
A device feature that was required for a particular dynamic state value was not enabled.
InvalidPrimitiveTopology
The provided dynamic primitive topology is not compatible with the pipeline.
NotEnoughColorWriteEnable
The number of ColorWriteEnable values was less than the number of attachments in the color blend state of the pipeline.
NotSet
Fields
dynamic_state: DynamicState
The pipeline requires a particular state to be set dynamically, but the value was not or only partially set.
ViewportScissorCountMismatch
The viewport count and scissor count do not match.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl Send for CheckDynamicStateValidityError
impl Sync for CheckDynamicStateValidityError
impl Unpin for CheckDynamicStateValidityError
impl UnwindSafe for CheckDynamicStateValidityError
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.