pub fn check_vertex_buffers<P, V>(
    pipeline: &P,
    vertex_buffers: V
) -> Result<CheckVertexBuffer, CheckVertexBufferError>where
    P: 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.