Enum vulkano::command_buffer::validity::CheckIndexBufferError
[−]
[src]
pub enum CheckIndexBufferError { BufferMissingUsage, WrongAlignment, UnsupportIndexType, }
Error that can happen when checking whether binding an index buffer is valid.
Variants
BufferMissingUsage
The "index buffer" usage must be enabled on the index buffer.
WrongAlignment
The data or size must be 4-bytes aligned.
UnsupportIndexType
The type of the indices is not supported by the device.
Trait Implementations
impl Debug for CheckIndexBufferError
[src]
impl Copy for CheckIndexBufferError
[src]
impl Clone for CheckIndexBufferError
[src]
fn clone(&self) -> CheckIndexBufferError
[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 CheckIndexBufferError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more