| 1 | //! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_image_drm_format_modifier.html> |
| 2 | |
| 3 | use crate::prelude::*; |
| 4 | use crate::vk; |
| 5 | |
| 6 | impl crate::ext::image_drm_format_modifier::Device { |
| 7 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetImageDrmFormatModifierPropertiesEXT.html> |
| 8 | #[inline] |
| 9 | pub unsafe fn get_image_drm_format_modifier_properties( |
| 10 | &self, |
| 11 | image: vk::Image, |
| 12 | properties: &mut vk::ImageDrmFormatModifierPropertiesEXT<'_>, |
| 13 | ) -> VkResult<()> { |
| 14 | (self.fp.get_image_drm_format_modifier_properties_ext)(self.handle, image, properties) |
| 15 | .result() |
| 16 | } |
| 17 | } |