| 1 | //! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_line_rasterization.html> |
| 2 | |
| 3 | use crate::vk; |
| 4 | |
| 5 | impl crate::khr::line_rasterization::Device { |
| 6 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetLineStippleKHR.html> |
| 7 | #[inline] |
| 8 | pub unsafe fn cmd_set_line_stipple( |
| 9 | &self, |
| 10 | command_buffer: vk::CommandBuffer, |
| 11 | line_stipple_factor: u32, |
| 12 | line_stipple_pattern: u16, |
| 13 | ) { |
| 14 | (self.fp.cmd_set_line_stipple_khr)( |
| 15 | command_buffer, |
| 16 | line_stipple_factor, |
| 17 | line_stipple_pattern, |
| 18 | ) |
| 19 | } |
| 20 | } |