ash/extensions/khr/
dynamic_rendering_local_read.rs

1//! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_dynamic_rendering_local_read.html>
2
3use crate::vk;
4
5impl crate::khr::dynamic_rendering_local_read::Device {
6    /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetRenderingAttachmentLocationsKHR.html>
7    #[inline]
8    pub unsafe fn cmd_set_rendering_attachment_locations(
9        &self,
10        command_buffer: vk::CommandBuffer,
11        location_info: &vk::RenderingAttachmentLocationInfoKHR<'_>,
12    ) {
13        (self.fp.cmd_set_rendering_attachment_locations_khr)(command_buffer, location_info)
14    }
15
16    /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetRenderingInputAttachmentIndicesKHR.html>
17    #[inline]
18    pub unsafe fn cmd_set_rendering_input_attachment_indices(
19        &self,
20        command_buffer: vk::CommandBuffer,
21        location_info: &vk::RenderingInputAttachmentIndexInfoKHR<'_>,
22    ) {
23        (self.fp.cmd_set_rendering_input_attachment_indices_khr)(command_buffer, location_info)
24    }
25}