pub unsafe fn cmd_fill_buffer(
device: &Device,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
size: DeviceSize,
data: u32,
) -> Result<(), CallError>Expand description
Fill a buffer region with a fixed 32-bit value.
ยงSafety
buffer must be bound to device memory, in the executable/pending state,
and offset/size must be 4-byte aligned.