Enum vulkano::command_buffer::commands_raw::CmdUpdateBufferError [] [src]

pub enum CmdUpdateBufferError {
    BufferMissingUsage,
    WrongAlignment,
    DataTooLarge,
}

Error that can happen when creating a CmdUpdateBuffer.

Variants

The "transfer destination" usage must be enabled on the buffer.

The data or size must be 4-bytes aligned.

The data must not be larger than 64k bytes.

Trait Implementations

impl Debug for CmdUpdateBufferError
[src]

Formats the value using the given formatter.

impl Copy for CmdUpdateBufferError
[src]

impl Clone for CmdUpdateBufferError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Error for CmdUpdateBufferError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for CmdUpdateBufferError
[src]

Formats the value using the given formatter. Read more