| 1 | //! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_ray_tracing_maintenance1.html> |
| 2 | |
| 3 | use crate::vk; |
| 4 | |
| 5 | impl crate::khr::ray_tracing_maintenance1::Device { |
| 6 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdTraceRaysIndirect2KHR.html> |
| 7 | /// |
| 8 | /// `indirect_device_address` is a buffer device address which is a pointer to a [`vk::TraceRaysIndirectCommand2KHR`] structure containing the trace ray parameters. |
| 9 | #[inline] |
| 10 | pub unsafe fn cmd_trace_rays_indirect2( |
| 11 | &self, |
| 12 | command_buffer: vk::CommandBuffer, |
| 13 | indirect_device_address: vk::DeviceAddress, |
| 14 | ) { |
| 15 | (self.fp.cmd_trace_rays_indirect2_khr)(command_buffer, indirect_device_address); |
| 16 | } |
| 17 | } |