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