Enum vulkano::buffer::view::BufferViewCreationError [] [src]

pub enum BufferViewCreationError {
    OomError(OomError),
    WrongBufferUsage,
    WrongBufferAlignment,
    UnsupportedFormat,
    MaxTexelBufferElementsExceeded,
}

Error that can happen when creating a buffer view.

Variants

Out of memory.

The buffer was not creating with one of the storage_texel_buffer or uniform_texel_buffer usages.

The offset within the buffer is not a multiple of the min_texel_buffer_offset_alignment limit.

The requested format is not supported for this usage.

The maximum number of elements in the buffer view has been exceeded.

Trait Implementations

impl Debug for BufferViewCreationError
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for BufferViewCreationError
[src]

impl Clone for BufferViewCreationError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Error for BufferViewCreationError
[src]

[src]

A short description of the error. Read more

[src]

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

impl Display for BufferViewCreationError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<OomError> for BufferViewCreationError
[src]

[src]

Performs the conversion.

Auto Trait Implementations