Enum vulkano::buffer::view::BufferViewCreationError [−][src]
pub enum BufferViewCreationError { OomError(OomError), WrongBufferUsage, WrongBufferAlignment, UnsupportedFormat, MaxTexelBufferElementsExceeded, }
Expand description
Error that can happen when creating a buffer view.
Variants
OomError(OomError)
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BufferViewCreationError
impl Send for BufferViewCreationError
impl Sync for BufferViewCreationError
impl Unpin for BufferViewCreationError
impl UnwindSafe for BufferViewCreationError
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.