pub enum CheckIndirectBufferError {
BufferMissingUsage,
MaxDrawIndirectCountLimitExceeded {
limit: u32,
requested: u32,
},
}
Expand description
Error that can happen when checking whether binding an indirect buffer is valid.
Variants
BufferMissingUsage
The “indirect buffer” usage must be enabled on the indirect buffer.
MaxDrawIndirectCountLimitExceeded
The maximum number of indirect draws has been exceeded.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CheckIndirectBufferError
impl Send for CheckIndirectBufferError
impl Sync for CheckIndirectBufferError
impl Unpin for CheckIndirectBufferError
impl UnwindSafe for CheckIndirectBufferError
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.