Enum vulkano::buffer::view::BufferViewCreationError
[−]
[src]
pub enum BufferViewCreationError { OomError(OomError), WrongBufferUsage, UnsupportedFormat, MaxTexelBufferElementsExceeded, }
Error that can happen when creating a buffer view.
Variants
OomError(OomError)
Out of memory.
WrongBufferUsage
The buffer was not creating with one of the storage_texel_buffer
or
uniform_texel_buffer
usages.
UnsupportedFormat
The requested format is not supported for this usage.
MaxTexelBufferElementsExceeded
The maximum number of elements in the buffer view has been exceeded.
Trait Implementations
impl Debug for BufferViewCreationError
[src]
impl Copy for BufferViewCreationError
[src]
impl Clone for BufferViewCreationError
[src]
fn clone(&self) -> BufferViewCreationError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Error for BufferViewCreationError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl Display for BufferViewCreationError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl From<OomError> for BufferViewCreationError
[src]
fn from(err: OomError) -> BufferViewCreationError
[src]
Performs the conversion.
impl From<Error> for BufferViewCreationError
[src]
fn from(err: Error) -> BufferViewCreationError
[src]
Performs the conversion.