Enum vulkano::command_buffer::validity::CheckUpdateBufferError
[−]
[src]
pub enum CheckUpdateBufferError { BufferMissingUsage, WrongAlignment, DataTooLarge, }
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
impl Debug for CheckUpdateBufferError
[src]
impl Copy for CheckUpdateBufferError
[src]
impl Clone for CheckUpdateBufferError
[src]
fn clone(&self) -> CheckUpdateBufferError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Error for CheckUpdateBufferError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more