[−][src]Function vulkano::command_buffer::validity::check_update_buffer
pub fn check_update_buffer<B: ?Sized, D>(
device: &Device,
buffer: &B,
data: &D
) -> Result<(), CheckUpdateBufferError> where
B: TypedBufferAccess<Content = D>,
D: ?Sized,
Checks whether an update buffer command is valid.
Panic
- Panics if the buffer not created with
device
.