pub fn check_copy_buffer<S, D, T>(
    device: &Device,
    source: &S,
    destination: &D
) -> Result<CheckCopyBuffer, CheckCopyBufferError>where
    S: ?Sized + TypedBufferAccess<Content = T>,
    D: ?Sized + TypedBufferAccess<Content = T>,
    T: ?Sized,
Expand description

Checks whether a copy buffer command is valid.

Panic

  • Panics if the source and destination were not created with device.