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
BufferNotBound
Fields
binding_num: u32
No buffer was bound to a binding slot needed by the pipeline.
BufferMissingUsage
Fields
binding_num: u32
Index of the buffer that is missing usage.
The “vertex buffer” usage must be enabled on the buffer.
TooManyVertices
Fields
vertex_count: u32
The used amount of vertices.
max_vertex_count: u32
The allowed amount of vertices.
A draw command requested too many vertices.
TooManyInstances
Fields
instance_count: u32
The used amount of instances.
max_instance_count: u32
The allowed amount of instances.
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
.
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.