[−][src]Function vulkano::command_buffer::validity::check_vertex_buffers
pub fn check_vertex_buffers<P, V>(
pipeline: &P,
vertex_buffers: V
) -> Result<CheckVertexBuffer, CheckVertexBufferError> where
P: DeviceOwned + VertexSource<V>,
Checks whether vertex buffers can be bound.
Panic
- Panics if one of the vertex buffers was not created with the same device as
pipeline
.