Enum vulkano::command_buffer::validity::CheckVertexBufferError [−][src]
pub enum CheckVertexBufferError { BufferMissingUsage { num_buffer: usize, }, TooManyInstances { instance_count: usize, max_instance_count: usize, }, }
Expand description
Error that can happen when checking whether the vertex buffers are valid.
Variants
The “vertex buffer” usage must be enabled on the buffer.
Show fields
Fields of BufferMissingUsage
num_buffer: usize
Index of the buffer that is missing usage.
The vertex buffer has too many instances.
When the multiview
feature is used the maximum amount of instances may be reduced
because the implementation may use instancing internally to implement multiview
.
Show fields
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CheckVertexBufferError
impl Send for CheckVertexBufferError
impl Sync for CheckVertexBufferError
impl Unpin for CheckVertexBufferError
impl UnwindSafe for CheckVertexBufferError
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.