Enum vulkano::command_buffer::validity::CheckUpdateBufferError [−][src]
pub enum CheckUpdateBufferError {
BufferMissingUsage,
WrongAlignment,
DataTooLarge,
}
Expand description
Error that can happen when attempting to add an update_buffer
command.
Variants
BufferMissingUsage
The “transfer destination” usage must be enabled on the buffer.
WrongAlignment
The data or size must be 4-bytes aligned.
DataTooLarge
The data must not be larger than 64k bytes.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CheckUpdateBufferError
impl Send for CheckUpdateBufferError
impl Sync for CheckUpdateBufferError
impl Unpin for CheckUpdateBufferError
impl UnwindSafe for CheckUpdateBufferError
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.