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