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

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 CheckUpdateBufferError
[src]

[src]

Formats the value using the given formatter.

impl Copy for CheckUpdateBufferError
[src]

impl Clone for CheckUpdateBufferError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Error for CheckUpdateBufferError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl Display for CheckUpdateBufferError
[src]

[src]

Formats the value using the given formatter. Read more