ash/extensions/ext/tooling_info.rs
1//! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_tooling_info.html>
2
3use crate::prelude::*;
4use crate::vk;
5use alloc::vec::Vec;
6
7impl crate::ext::tooling_info::Instance {
8 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetPhysicalDeviceToolPropertiesEXT.html>
9 #[inline]
10 pub unsafe fn get_physical_device_tool_properties(
11 &self,
12 physical_device: vk::PhysicalDevice,
13 ) -> VkResult<Vec<vk::PhysicalDeviceToolPropertiesEXT<'_>>> {
14 read_into_defaulted_vector(|count, data| {
15 (self.fp.get_physical_device_tool_properties_ext)(physical_device, count, data)
16 })
17 }
18}