Add cmd_clear_attachments
wrapper for device
This commit is contained in:
parent
5fda71f7af
commit
6afe7ed1b1
|
@ -563,6 +563,21 @@ pub trait DeviceV1_0 {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsafe fn cmd_clear_attachments(
|
||||||
|
&self,
|
||||||
|
command_buffer: vk::CommandBuffer,
|
||||||
|
attachments: &[vk::ClearAttachment],
|
||||||
|
rects: &[vk::ClearRect],
|
||||||
|
) {
|
||||||
|
self.fp_v1_0().cmd_clear_attachments(
|
||||||
|
command_buffer,
|
||||||
|
attachments.len() as vk::uint32_t,
|
||||||
|
attachments.as_ptr(),
|
||||||
|
rects.len() as vk::uint32_t,
|
||||||
|
rects.as_ptr(),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
unsafe fn cmd_draw_indexed(
|
unsafe fn cmd_draw_indexed(
|
||||||
&self,
|
&self,
|
||||||
command_buffer: vk::CommandBuffer,
|
command_buffer: vk::CommandBuffer,
|
||||||
|
|
Loading…
Reference in a new issue