Enum vulkano::command_buffer::validity::CheckVertexBufferError [−][src]
pub enum CheckVertexBufferError {
BufferNotBound {
binding_num: u32,
},
BufferMissingUsage {
binding_num: u32,
},
TooManyVertices {
vertex_count: u32,
max_vertex_count: u32,
},
TooManyInstances {
instance_count: u32,
max_instance_count: u32,
},
}
Expand description
Error that can happen when checking whether the vertex buffers are valid.
Variants
No buffer was bound to a binding slot needed by the pipeline.
Fields of BufferNotBound
binding_num: u32
The “vertex buffer” usage must be enabled on the buffer.
Fields of BufferMissingUsage
binding_num: u32
Index of the buffer that is missing usage.
A draw command requested too many vertices.
Fields of TooManyVertices
A draw command requested 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
.
Fields of TooManyInstances
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.