[−][src]Function vulkano::command_buffer::validity::check_copy_buffer
pub fn check_copy_buffer<S: ?Sized, D: ?Sized, T>(
device: &Device,
source: &S,
destination: &D
) -> Result<CheckCopyBuffer, CheckCopyBufferError> where
S: TypedBufferAccess<Content = T>,
D: TypedBufferAccess<Content = T>,
T: ?Sized,
Checks whether a copy buffer command is valid.
Panic
- Panics if the source and destination were not created with
device
.