Replace link #[doc] bits with /// in manual code files (#562)

Manual code files usually see extra documentation lines added with
`///`, making for a rather unpleasant (source code) reading experience
when mixed with a link wrapped in `#[doc]`.  This is just a copy-paste
remnant from autogenerated code (`quote` macro converts `///` to
`#[doc]`) and can easily be omitted in manual code.
This commit is contained in:
Marijn Suijten 2022-01-24 19:50:36 +01:00 committed by GitHub
parent 315f1f00c3
commit b5a2744694
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 342 additions and 342 deletions

File diff suppressed because it is too large Load diff

View file

@ -167,7 +167,7 @@ impl Entry {
&self.static_fn &self.static_fn
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumerateInstanceVersion.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumerateInstanceVersion.html>
/// ```no_run /// ```no_run
/// # use ash::{Entry, vk}; /// # use ash::{Entry, vk};
/// # fn main() -> Result<(), Box<dyn std::error::Error>> { /// # fn main() -> Result<(), Box<dyn std::error::Error>> {
@ -203,7 +203,7 @@ impl Entry {
} }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateInstance.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateInstance.html>
/// ///
/// # Safety /// # Safety
/// In order for the created [`Instance`] to be valid for the duration of its /// In order for the created [`Instance`] to be valid for the duration of its
@ -225,7 +225,7 @@ impl Entry {
Ok(Instance::load(&self.static_fn, instance)) Ok(Instance::load(&self.static_fn, instance))
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumerateInstanceLayerProperties.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumerateInstanceLayerProperties.html>
pub fn enumerate_instance_layer_properties(&self) -> VkResult<Vec<vk::LayerProperties>> { pub fn enumerate_instance_layer_properties(&self) -> VkResult<Vec<vk::LayerProperties>> {
unsafe { unsafe {
read_into_uninitialized_vector(|count, data| { read_into_uninitialized_vector(|count, data| {
@ -235,7 +235,7 @@ impl Entry {
} }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumerateInstanceExtensionProperties.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumerateInstanceExtensionProperties.html>
pub fn enumerate_instance_extension_properties( pub fn enumerate_instance_extension_properties(
&self, &self,
) -> VkResult<Vec<vk::ExtensionProperties>> { ) -> VkResult<Vec<vk::ExtensionProperties>> {
@ -247,7 +247,7 @@ impl Entry {
} }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetInstanceProcAddr.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetInstanceProcAddr.html>
pub unsafe fn get_instance_proc_addr( pub unsafe fn get_instance_proc_addr(
&self, &self,
instance: vk::Instance, instance: vk::Instance,
@ -265,7 +265,7 @@ impl Entry {
} }
#[deprecated = "This function is unavailable and therefore panics on Vulkan 1.0, please use `try_enumerate_instance_version` instead"] #[deprecated = "This function is unavailable and therefore panics on Vulkan 1.0, please use `try_enumerate_instance_version` instead"]
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumerateInstanceVersion.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumerateInstanceVersion.html>
/// ///
/// Please use [`Self::try_enumerate_instance_version`] instead. /// Please use [`Self::try_enumerate_instance_version`] instead.
pub fn enumerate_instance_version(&self) -> VkResult<u32> { pub fn enumerate_instance_version(&self) -> VkResult<u32> {

View file

@ -18,7 +18,7 @@ impl BufferDeviceAddress {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetBufferDeviceAddressEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetBufferDeviceAddressEXT.html>
pub unsafe fn get_buffer_device_address( pub unsafe fn get_buffer_device_address(
&self, &self,
info: &vk::BufferDeviceAddressInfoEXT, info: &vk::BufferDeviceAddressInfoEXT,

View file

@ -19,7 +19,7 @@ impl CalibratedTimestamps {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsEXT.html>
pub unsafe fn get_physical_device_calibrateable_time_domains( pub unsafe fn get_physical_device_calibrateable_time_domains(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -30,7 +30,7 @@ impl CalibratedTimestamps {
}) })
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetCalibratedTimestampsEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetCalibratedTimestampsEXT.html>
/// ///
/// Returns a tuple containing `(timestamps, max_deviation)` /// Returns a tuple containing `(timestamps, max_deviation)`
pub unsafe fn get_calibrated_timestamps( pub unsafe fn get_calibrated_timestamps(

View file

@ -19,7 +19,7 @@ impl DebugMarker {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDebugMarkerSetObjectNameEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDebugMarkerSetObjectNameEXT.html>
pub unsafe fn debug_marker_set_object_name( pub unsafe fn debug_marker_set_object_name(
&self, &self,
name_info: &vk::DebugMarkerObjectNameInfoEXT, name_info: &vk::DebugMarkerObjectNameInfoEXT,
@ -29,7 +29,7 @@ impl DebugMarker {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdDebugMarkerBeginEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdDebugMarkerBeginEXT.html>
pub unsafe fn cmd_debug_marker_begin( pub unsafe fn cmd_debug_marker_begin(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -39,12 +39,12 @@ impl DebugMarker {
.cmd_debug_marker_begin_ext(command_buffer, marker_info); .cmd_debug_marker_begin_ext(command_buffer, marker_info);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdDebugMarkerEndEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdDebugMarkerEndEXT.html>
pub unsafe fn cmd_debug_marker_end(&self, command_buffer: vk::CommandBuffer) { pub unsafe fn cmd_debug_marker_end(&self, command_buffer: vk::CommandBuffer) {
self.fp.cmd_debug_marker_end_ext(command_buffer); self.fp.cmd_debug_marker_end_ext(command_buffer);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdDebugMarkerInsertEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdDebugMarkerInsertEXT.html>
pub unsafe fn cmd_debug_marker_insert( pub unsafe fn cmd_debug_marker_insert(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,

View file

@ -20,7 +20,7 @@ impl DebugReport {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroyDebugReportCallbackEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroyDebugReportCallbackEXT.html>
pub unsafe fn destroy_debug_report_callback( pub unsafe fn destroy_debug_report_callback(
&self, &self,
debug: vk::DebugReportCallbackEXT, debug: vk::DebugReportCallbackEXT,
@ -33,7 +33,7 @@ impl DebugReport {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateDebugReportCallbackEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateDebugReportCallbackEXT.html>
pub unsafe fn create_debug_report_callback( pub unsafe fn create_debug_report_callback(
&self, &self,
create_info: &vk::DebugReportCallbackCreateInfoEXT, create_info: &vk::DebugReportCallbackCreateInfoEXT,

View file

@ -19,7 +19,7 @@ impl DebugUtils {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkSetDebugUtilsObjectNameEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkSetDebugUtilsObjectNameEXT.html>
pub unsafe fn debug_utils_set_object_name( pub unsafe fn debug_utils_set_object_name(
&self, &self,
device: vk::Device, device: vk::Device,
@ -30,7 +30,7 @@ impl DebugUtils {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkSetDebugUtilsObjectTagEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkSetDebugUtilsObjectTagEXT.html>
pub unsafe fn debug_utils_set_object_tag( pub unsafe fn debug_utils_set_object_tag(
&self, &self,
device: vk::Device, device: vk::Device,
@ -41,7 +41,7 @@ impl DebugUtils {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBeginDebugUtilsLabelEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBeginDebugUtilsLabelEXT.html>
pub unsafe fn cmd_begin_debug_utils_label( pub unsafe fn cmd_begin_debug_utils_label(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -51,12 +51,12 @@ impl DebugUtils {
.cmd_begin_debug_utils_label_ext(command_buffer, label); .cmd_begin_debug_utils_label_ext(command_buffer, label);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdEndDebugUtilsLabelEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdEndDebugUtilsLabelEXT.html>
pub unsafe fn cmd_end_debug_utils_label(&self, command_buffer: vk::CommandBuffer) { pub unsafe fn cmd_end_debug_utils_label(&self, command_buffer: vk::CommandBuffer) {
self.fp.cmd_end_debug_utils_label_ext(command_buffer); self.fp.cmd_end_debug_utils_label_ext(command_buffer);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdInsertDebugUtilsLabelEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdInsertDebugUtilsLabelEXT.html>
pub unsafe fn cmd_insert_debug_utils_label( pub unsafe fn cmd_insert_debug_utils_label(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -66,7 +66,7 @@ impl DebugUtils {
.cmd_insert_debug_utils_label_ext(command_buffer, label); .cmd_insert_debug_utils_label_ext(command_buffer, label);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkQueueBeginDebugUtilsLabelEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkQueueBeginDebugUtilsLabelEXT.html>
pub unsafe fn queue_begin_debug_utils_label( pub unsafe fn queue_begin_debug_utils_label(
&self, &self,
queue: vk::Queue, queue: vk::Queue,
@ -75,12 +75,12 @@ impl DebugUtils {
self.fp.queue_begin_debug_utils_label_ext(queue, label); self.fp.queue_begin_debug_utils_label_ext(queue, label);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkQueueEndDebugUtilsLabelEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkQueueEndDebugUtilsLabelEXT.html>
pub unsafe fn queue_end_debug_utils_label(&self, queue: vk::Queue) { pub unsafe fn queue_end_debug_utils_label(&self, queue: vk::Queue) {
self.fp.queue_end_debug_utils_label_ext(queue); self.fp.queue_end_debug_utils_label_ext(queue);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkQueueInsertDebugUtilsLabelEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkQueueInsertDebugUtilsLabelEXT.html>
pub unsafe fn queue_insert_debug_utils_label( pub unsafe fn queue_insert_debug_utils_label(
&self, &self,
queue: vk::Queue, queue: vk::Queue,
@ -89,7 +89,7 @@ impl DebugUtils {
self.fp.queue_insert_debug_utils_label_ext(queue, label); self.fp.queue_insert_debug_utils_label_ext(queue, label);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateDebugUtilsMessengerEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateDebugUtilsMessengerEXT.html>
pub unsafe fn create_debug_utils_messenger( pub unsafe fn create_debug_utils_messenger(
&self, &self,
create_info: &vk::DebugUtilsMessengerCreateInfoEXT, create_info: &vk::DebugUtilsMessengerCreateInfoEXT,
@ -106,7 +106,7 @@ impl DebugUtils {
.result_with_success(messenger) .result_with_success(messenger)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroyDebugUtilsMessengerEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroyDebugUtilsMessengerEXT.html>
pub unsafe fn destroy_debug_utils_messenger( pub unsafe fn destroy_debug_utils_messenger(
&self, &self,
messenger: vk::DebugUtilsMessengerEXT, messenger: vk::DebugUtilsMessengerEXT,
@ -116,7 +116,7 @@ impl DebugUtils {
.destroy_debug_utils_messenger_ext(self.handle, messenger, allocator.as_raw_ptr()); .destroy_debug_utils_messenger_ext(self.handle, messenger, allocator.as_raw_ptr());
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkSubmitDebugUtilsMessageEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkSubmitDebugUtilsMessageEXT.html>
pub unsafe fn submit_debug_utils_message( pub unsafe fn submit_debug_utils_message(
&self, &self,
message_severity: vk::DebugUtilsMessageSeverityFlagsEXT, message_severity: vk::DebugUtilsMessageSeverityFlagsEXT,

View file

@ -17,7 +17,7 @@ impl ExtendedDynamicState {
Self { fp } Self { fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetCullModeEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetCullModeEXT.html>
pub unsafe fn cmd_set_cull_mode( pub unsafe fn cmd_set_cull_mode(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -26,7 +26,7 @@ impl ExtendedDynamicState {
self.fp.cmd_set_cull_mode_ext(command_buffer, cull_mode) self.fp.cmd_set_cull_mode_ext(command_buffer, cull_mode)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetFrontFaceEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetFrontFaceEXT.html>
pub unsafe fn cmd_set_front_face( pub unsafe fn cmd_set_front_face(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -35,7 +35,7 @@ impl ExtendedDynamicState {
self.fp.cmd_set_front_face_ext(command_buffer, front_face) self.fp.cmd_set_front_face_ext(command_buffer, front_face)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetPrimitiveTopologyEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetPrimitiveTopologyEXT.html>
pub unsafe fn cmd_set_primitive_topology( pub unsafe fn cmd_set_primitive_topology(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -45,7 +45,7 @@ impl ExtendedDynamicState {
.cmd_set_primitive_topology_ext(command_buffer, primitive_topology) .cmd_set_primitive_topology_ext(command_buffer, primitive_topology)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetViewportWithCountEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetViewportWithCountEXT.html>
pub unsafe fn cmd_set_viewport_with_count( pub unsafe fn cmd_set_viewport_with_count(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -58,7 +58,7 @@ impl ExtendedDynamicState {
) )
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetScissorWithCountEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetScissorWithCountEXT.html>
pub unsafe fn cmd_set_scissor_with_count( pub unsafe fn cmd_set_scissor_with_count(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -71,7 +71,7 @@ impl ExtendedDynamicState {
) )
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBindVertexBuffers2EXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBindVertexBuffers2EXT.html>
pub unsafe fn cmd_bind_vertex_buffers2( pub unsafe fn cmd_bind_vertex_buffers2(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -105,7 +105,7 @@ impl ExtendedDynamicState {
) )
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetDepthTestEnableEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetDepthTestEnableEXT.html>
pub unsafe fn cmd_set_depth_test_enable( pub unsafe fn cmd_set_depth_test_enable(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -115,7 +115,7 @@ impl ExtendedDynamicState {
.cmd_set_depth_test_enable_ext(command_buffer, depth_test_enable.into()) .cmd_set_depth_test_enable_ext(command_buffer, depth_test_enable.into())
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetDepthWriteEnableEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetDepthWriteEnableEXT.html>
pub unsafe fn cmd_set_depth_write_enable( pub unsafe fn cmd_set_depth_write_enable(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -125,7 +125,7 @@ impl ExtendedDynamicState {
.cmd_set_depth_write_enable_ext(command_buffer, depth_write_enable.into()) .cmd_set_depth_write_enable_ext(command_buffer, depth_write_enable.into())
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetDepthCompareOpEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetDepthCompareOpEXT.html>
pub unsafe fn cmd_set_depth_compare_op( pub unsafe fn cmd_set_depth_compare_op(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -135,7 +135,7 @@ impl ExtendedDynamicState {
.cmd_set_depth_compare_op_ext(command_buffer, depth_compare_op) .cmd_set_depth_compare_op_ext(command_buffer, depth_compare_op)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetDepthBoundsTestEnableEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetDepthBoundsTestEnableEXT.html>
pub unsafe fn cmd_set_depth_bounds_test_enable( pub unsafe fn cmd_set_depth_bounds_test_enable(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -145,7 +145,7 @@ impl ExtendedDynamicState {
.cmd_set_depth_bounds_test_enable_ext(command_buffer, depth_bounds_test_enable.into()) .cmd_set_depth_bounds_test_enable_ext(command_buffer, depth_bounds_test_enable.into())
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetStencilTestEnableEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetStencilTestEnableEXT.html>
pub unsafe fn cmd_set_stencil_test_enable( pub unsafe fn cmd_set_stencil_test_enable(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -155,7 +155,7 @@ impl ExtendedDynamicState {
.cmd_set_stencil_test_enable_ext(command_buffer, stencil_test_enable.into()) .cmd_set_stencil_test_enable_ext(command_buffer, stencil_test_enable.into())
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetStencilOpEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetStencilOpEXT.html>
pub unsafe fn cmd_set_stencil_op( pub unsafe fn cmd_set_stencil_op(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,

View file

@ -19,7 +19,7 @@ impl FullScreenExclusive {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkAcquireFullScreenExclusiveModeEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkAcquireFullScreenExclusiveModeEXT.html>
pub unsafe fn acquire_full_screen_exclusive_mode( pub unsafe fn acquire_full_screen_exclusive_mode(
&self, &self,
swapchain: vk::SwapchainKHR, swapchain: vk::SwapchainKHR,
@ -29,7 +29,7 @@ impl FullScreenExclusive {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSurfacePresentModes2EXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSurfacePresentModes2EXT.html>
pub unsafe fn get_physical_device_surface_present_modes2( pub unsafe fn get_physical_device_surface_present_modes2(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -45,7 +45,7 @@ impl FullScreenExclusive {
}) })
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkReleaseFullScreenExclusiveModeEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkReleaseFullScreenExclusiveModeEXT.html>
pub unsafe fn release_full_screen_exclusive_mode( pub unsafe fn release_full_screen_exclusive_mode(
&self, &self,
swapchain: vk::SwapchainKHR, swapchain: vk::SwapchainKHR,
@ -55,7 +55,7 @@ impl FullScreenExclusive {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceGroupSurfacePresentModes2EXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceGroupSurfacePresentModes2EXT.html>
pub unsafe fn get_device_group_surface_present_modes2( pub unsafe fn get_device_group_surface_present_modes2(
&self, &self,
surface_info: &vk::PhysicalDeviceSurfaceInfo2KHR, surface_info: &vk::PhysicalDeviceSurfaceInfo2KHR,

View file

@ -20,7 +20,7 @@ impl MetalSurface {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateMetalSurfaceEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateMetalSurfaceEXT.html>
pub unsafe fn create_metal_surface( pub unsafe fn create_metal_surface(
&self, &self,
create_info: &vk::MetalSurfaceCreateInfoEXT, create_info: &vk::MetalSurfaceCreateInfoEXT,

View file

@ -17,7 +17,7 @@ impl ToolingInfo {
Self { fp } Self { fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceToolPropertiesEXT.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceToolPropertiesEXT.html>
pub unsafe fn get_physical_device_tool_properties( pub unsafe fn get_physical_device_tool_properties(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,

View file

@ -32,7 +32,7 @@ impl AccelerationStructure {
props_rt props_rt
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateAccelerationStructureKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateAccelerationStructureKHR.html>
pub unsafe fn create_acceleration_structure( pub unsafe fn create_acceleration_structure(
&self, &self,
create_info: &vk::AccelerationStructureCreateInfoKHR, create_info: &vk::AccelerationStructureCreateInfoKHR,
@ -49,7 +49,7 @@ impl AccelerationStructure {
.result_with_success(accel_struct) .result_with_success(accel_struct)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroyAccelerationStructureKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroyAccelerationStructureKHR.html>
pub unsafe fn destroy_acceleration_structure( pub unsafe fn destroy_acceleration_structure(
&self, &self,
accel_struct: vk::AccelerationStructureKHR, accel_struct: vk::AccelerationStructureKHR,
@ -62,7 +62,7 @@ impl AccelerationStructure {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBuildAccelerationStructuresKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBuildAccelerationStructuresKHR.html>
pub unsafe fn cmd_build_acceleration_structures( pub unsafe fn cmd_build_acceleration_structures(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -88,7 +88,7 @@ impl AccelerationStructure {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBuildAccelerationStructuresIndirectKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBuildAccelerationStructuresIndirectKHR.html>
pub unsafe fn cmd_build_acceleration_structures_indirect( pub unsafe fn cmd_build_acceleration_structures_indirect(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -120,7 +120,7 @@ impl AccelerationStructure {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkBuildAccelerationStructuresKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkBuildAccelerationStructuresKHR.html>
pub unsafe fn build_acceleration_structures( pub unsafe fn build_acceleration_structures(
&self, &self,
deferred_operation: vk::DeferredOperationKHR, deferred_operation: vk::DeferredOperationKHR,
@ -149,7 +149,7 @@ impl AccelerationStructure {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCopyAccelerationStructureKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCopyAccelerationStructureKHR.html>
pub unsafe fn copy_acceleration_structure( pub unsafe fn copy_acceleration_structure(
&self, &self,
deferred_operation: vk::DeferredOperationKHR, deferred_operation: vk::DeferredOperationKHR,
@ -160,7 +160,7 @@ impl AccelerationStructure {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCopyAccelerationStructureToMemoryKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCopyAccelerationStructureToMemoryKHR.html>
pub unsafe fn copy_acceleration_structure_to_memory( pub unsafe fn copy_acceleration_structure_to_memory(
&self, &self,
deferred_operation: vk::DeferredOperationKHR, deferred_operation: vk::DeferredOperationKHR,
@ -175,7 +175,7 @@ impl AccelerationStructure {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCopyMemoryToAccelerationStructureKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCopyMemoryToAccelerationStructureKHR.html>
pub unsafe fn copy_memory_to_acceleration_structure( pub unsafe fn copy_memory_to_acceleration_structure(
&self, &self,
deferred_operation: vk::DeferredOperationKHR, deferred_operation: vk::DeferredOperationKHR,
@ -190,7 +190,7 @@ impl AccelerationStructure {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkWriteAccelerationStructuresPropertiesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkWriteAccelerationStructuresPropertiesKHR.html>
pub unsafe fn write_acceleration_structures_properties( pub unsafe fn write_acceleration_structures_properties(
&self, &self,
acceleration_structures: &[vk::AccelerationStructureKHR], acceleration_structures: &[vk::AccelerationStructureKHR],
@ -211,7 +211,7 @@ impl AccelerationStructure {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdCopyAccelerationStructureKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdCopyAccelerationStructureKHR.html>
pub unsafe fn cmd_copy_acceleration_structure( pub unsafe fn cmd_copy_acceleration_structure(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -221,7 +221,7 @@ impl AccelerationStructure {
.cmd_copy_acceleration_structure_khr(command_buffer, info); .cmd_copy_acceleration_structure_khr(command_buffer, info);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdCopyAccelerationStructureToMemoryKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdCopyAccelerationStructureToMemoryKHR.html>
pub unsafe fn cmd_copy_acceleration_structure_to_memory( pub unsafe fn cmd_copy_acceleration_structure_to_memory(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -231,7 +231,7 @@ impl AccelerationStructure {
.cmd_copy_acceleration_structure_to_memory_khr(command_buffer, info as *const _); .cmd_copy_acceleration_structure_to_memory_khr(command_buffer, info as *const _);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdCopyMemoryToAccelerationStructureKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdCopyMemoryToAccelerationStructureKHR.html>
pub unsafe fn cmd_copy_memory_to_acceleration_structure( pub unsafe fn cmd_copy_memory_to_acceleration_structure(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -241,7 +241,7 @@ impl AccelerationStructure {
.cmd_copy_memory_to_acceleration_structure_khr(command_buffer, info as *const _); .cmd_copy_memory_to_acceleration_structure_khr(command_buffer, info as *const _);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetAccelerationStructureHandleKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetAccelerationStructureHandleKHR.html>
pub unsafe fn get_acceleration_structure_device_address( pub unsafe fn get_acceleration_structure_device_address(
&self, &self,
info: &vk::AccelerationStructureDeviceAddressInfoKHR, info: &vk::AccelerationStructureDeviceAddressInfoKHR,
@ -250,7 +250,7 @@ impl AccelerationStructure {
.get_acceleration_structure_device_address_khr(self.handle, info as *const _) .get_acceleration_structure_device_address_khr(self.handle, info as *const _)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdWriteAccelerationStructuresPropertiesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdWriteAccelerationStructuresPropertiesKHR.html>
pub unsafe fn cmd_write_acceleration_structures_properties( pub unsafe fn cmd_write_acceleration_structures_properties(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -269,7 +269,7 @@ impl AccelerationStructure {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceAccelerationStructureCompatibilityKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceAccelerationStructureCompatibilityKHR.html>
pub unsafe fn get_device_acceleration_structure_compatibility( pub unsafe fn get_device_acceleration_structure_compatibility(
&self, &self,
version: &vk::AccelerationStructureVersionInfoKHR, version: &vk::AccelerationStructureVersionInfoKHR,
@ -285,7 +285,7 @@ impl AccelerationStructure {
compatibility compatibility
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetAccelerationStructureBuildSizesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetAccelerationStructureBuildSizesKHR.html>
pub unsafe fn get_acceleration_structure_build_sizes( pub unsafe fn get_acceleration_structure_build_sizes(
&self, &self,
build_type: vk::AccelerationStructureBuildTypeKHR, build_type: vk::AccelerationStructureBuildTypeKHR,

View file

@ -20,7 +20,7 @@ impl AndroidSurface {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateAndroidSurfaceKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateAndroidSurfaceKHR.html>
pub unsafe fn create_android_surface( pub unsafe fn create_android_surface(
&self, &self,
create_info: &vk::AndroidSurfaceCreateInfoKHR, create_info: &vk::AndroidSurfaceCreateInfoKHR,

View file

@ -18,7 +18,7 @@ impl BufferDeviceAddress {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetBufferDeviceAddressKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetBufferDeviceAddressKHR.html>
pub unsafe fn get_buffer_device_address( pub unsafe fn get_buffer_device_address(
&self, &self,
info: &vk::BufferDeviceAddressInfoKHR, info: &vk::BufferDeviceAddressInfoKHR,
@ -26,7 +26,7 @@ impl BufferDeviceAddress {
self.fp.get_buffer_device_address_khr(self.handle, info) self.fp.get_buffer_device_address_khr(self.handle, info)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetBufferOpaqueCaptureAddressKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetBufferOpaqueCaptureAddressKHR.html>
pub unsafe fn get_buffer_opaque_capture_address( pub unsafe fn get_buffer_opaque_capture_address(
&self, &self,
info: &vk::BufferDeviceAddressInfoKHR, info: &vk::BufferDeviceAddressInfoKHR,
@ -35,7 +35,7 @@ impl BufferDeviceAddress {
.get_buffer_opaque_capture_address_khr(self.handle, info) .get_buffer_opaque_capture_address_khr(self.handle, info)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceMemoryOpaqueCaptureAddressKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceMemoryOpaqueCaptureAddressKHR.html>
pub unsafe fn get_device_memory_opaque_capture_address( pub unsafe fn get_device_memory_opaque_capture_address(
&self, &self,
info: &vk::DeviceMemoryOpaqueCaptureAddressInfoKHR, info: &vk::DeviceMemoryOpaqueCaptureAddressInfoKHR,

View file

@ -20,7 +20,7 @@ impl CreateRenderPass2 {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateRenderPass2.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateRenderPass2.html>
pub unsafe fn create_render_pass2( pub unsafe fn create_render_pass2(
&self, &self,
create_info: &vk::RenderPassCreateInfo2, create_info: &vk::RenderPassCreateInfo2,
@ -37,7 +37,7 @@ impl CreateRenderPass2 {
.result_with_success(renderpass) .result_with_success(renderpass)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBeginRenderPass2.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBeginRenderPass2.html>
pub unsafe fn cmd_begin_render_pass2( pub unsafe fn cmd_begin_render_pass2(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -51,7 +51,7 @@ impl CreateRenderPass2 {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdNextSubpass2.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdNextSubpass2.html>
pub unsafe fn cmd_next_subpass2( pub unsafe fn cmd_next_subpass2(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -62,7 +62,7 @@ impl CreateRenderPass2 {
.cmd_next_subpass2_khr(command_buffer, subpass_begin_info, subpass_end_info); .cmd_next_subpass2_khr(command_buffer, subpass_begin_info, subpass_end_info);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdEndRenderPass2.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdEndRenderPass2.html>
pub unsafe fn cmd_end_render_pass2( pub unsafe fn cmd_end_render_pass2(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,

View file

@ -20,7 +20,7 @@ impl DeferredHostOperations {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateDeferredOperationKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateDeferredOperationKHR.html>
pub unsafe fn create_deferred_operation( pub unsafe fn create_deferred_operation(
&self, &self,
allocation_callbacks: Option<&vk::AllocationCallbacks>, allocation_callbacks: Option<&vk::AllocationCallbacks>,
@ -35,7 +35,7 @@ impl DeferredHostOperations {
.result_with_success(operation) .result_with_success(operation)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDeferredOperationJoinKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDeferredOperationJoinKHR.html>
pub unsafe fn deferred_operation_join( pub unsafe fn deferred_operation_join(
&self, &self,
operation: vk::DeferredOperationKHR, operation: vk::DeferredOperationKHR,
@ -45,7 +45,7 @@ impl DeferredHostOperations {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroyDeferredOperationKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroyDeferredOperationKHR.html>
pub unsafe fn destroy_deferred_operation( pub unsafe fn destroy_deferred_operation(
&self, &self,
operation: vk::DeferredOperationKHR, operation: vk::DeferredOperationKHR,
@ -58,7 +58,7 @@ impl DeferredHostOperations {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeferredOperationMaxConcurrencyKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeferredOperationMaxConcurrencyKHR.html>
pub unsafe fn get_deferred_operation_max_concurrency( pub unsafe fn get_deferred_operation_max_concurrency(
&self, &self,
operation: vk::DeferredOperationKHR, operation: vk::DeferredOperationKHR,
@ -67,7 +67,7 @@ impl DeferredHostOperations {
.get_deferred_operation_max_concurrency_khr(self.handle, operation) .get_deferred_operation_max_concurrency_khr(self.handle, operation)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeferredOperationResultKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeferredOperationResultKHR.html>
pub unsafe fn get_deferred_operation_result( pub unsafe fn get_deferred_operation_result(
&self, &self,
operation: vk::DeferredOperationKHR, operation: vk::DeferredOperationKHR,

View file

@ -20,7 +20,7 @@ impl Display {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceDisplayPropertiesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceDisplayPropertiesKHR.html>
pub unsafe fn get_physical_device_display_properties( pub unsafe fn get_physical_device_display_properties(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -31,7 +31,7 @@ impl Display {
}) })
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceDisplayPlanePropertiesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceDisplayPlanePropertiesKHR.html>
pub unsafe fn get_physical_device_display_plane_properties( pub unsafe fn get_physical_device_display_plane_properties(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -42,7 +42,7 @@ impl Display {
}) })
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDisplayPlaneSupportedDisplaysKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDisplayPlaneSupportedDisplaysKHR.html>
pub unsafe fn get_display_plane_supported_displays( pub unsafe fn get_display_plane_supported_displays(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -58,7 +58,7 @@ impl Display {
}) })
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDisplayModePropertiesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDisplayModePropertiesKHR.html>
pub unsafe fn get_display_mode_properties( pub unsafe fn get_display_mode_properties(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -70,7 +70,7 @@ impl Display {
}) })
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateDisplayModeKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateDisplayModeKHR.html>
pub unsafe fn create_display_mode( pub unsafe fn create_display_mode(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -90,7 +90,7 @@ impl Display {
.result_with_success(display_mode.assume_init()) .result_with_success(display_mode.assume_init())
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDisplayPlaneCapabilitiesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDisplayPlaneCapabilitiesKHR.html>
pub unsafe fn get_display_plane_capabilities( pub unsafe fn get_display_plane_capabilities(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -108,7 +108,7 @@ impl Display {
.result_with_success(display_plane_capabilities.assume_init()) .result_with_success(display_plane_capabilities.assume_init())
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateDisplayPlaneSurfaceKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateDisplayPlaneSurfaceKHR.html>
pub unsafe fn create_display_plane_surface( pub unsafe fn create_display_plane_surface(
&self, &self,
create_info: &vk::DisplaySurfaceCreateInfoKHR, create_info: &vk::DisplaySurfaceCreateInfoKHR,

View file

@ -20,7 +20,7 @@ impl DisplaySwapchain {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateSharedSwapchainsKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateSharedSwapchainsKHR.html>
pub unsafe fn create_shared_swapchains( pub unsafe fn create_shared_swapchains(
&self, &self,
create_infos: &[vk::SwapchainCreateInfoKHR], create_infos: &[vk::SwapchainCreateInfoKHR],

View file

@ -16,7 +16,7 @@ impl DrawIndirectCount {
Self { fp } Self { fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawIndexedIndirectCountKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawIndexedIndirectCountKHR.html>
pub unsafe fn cmd_draw_indexed_indirect_count( pub unsafe fn cmd_draw_indexed_indirect_count(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -38,7 +38,7 @@ impl DrawIndirectCount {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawIndirectCountKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawIndirectCountKHR.html>
pub unsafe fn cmd_draw_indirect_count( pub unsafe fn cmd_draw_indirect_count(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,

View file

@ -16,7 +16,7 @@ impl DynamicRendering {
Self { fp } Self { fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBeginRenderingKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBeginRenderingKHR.html>
pub unsafe fn cmd_begin_rendering( pub unsafe fn cmd_begin_rendering(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -26,7 +26,7 @@ impl DynamicRendering {
.cmd_begin_rendering_khr(command_buffer, rendering_info) .cmd_begin_rendering_khr(command_buffer, rendering_info)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdEndRenderingKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdEndRenderingKHR.html>
pub unsafe fn cmd_end_rendering(&self, command_buffer: vk::CommandBuffer) { pub unsafe fn cmd_end_rendering(&self, command_buffer: vk::CommandBuffer) {
self.fp.cmd_end_rendering_khr(command_buffer) self.fp.cmd_end_rendering_khr(command_buffer)
} }

View file

@ -19,14 +19,14 @@ impl ExternalFenceFd {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkImportFenceFdKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkImportFenceFdKHR.html>
pub unsafe fn import_fence_fd(&self, import_info: &vk::ImportFenceFdInfoKHR) -> VkResult<()> { pub unsafe fn import_fence_fd(&self, import_info: &vk::ImportFenceFdInfoKHR) -> VkResult<()> {
self.fp self.fp
.import_fence_fd_khr(self.handle, import_info) .import_fence_fd_khr(self.handle, import_info)
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetFenceFdKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetFenceFdKHR.html>
pub unsafe fn get_fence_fd(&self, get_info: &vk::FenceGetFdInfoKHR) -> VkResult<i32> { pub unsafe fn get_fence_fd(&self, get_info: &vk::FenceGetFdInfoKHR) -> VkResult<i32> {
let mut fd = -1; let mut fd = -1;
self.fp self.fp

View file

@ -19,7 +19,7 @@ impl ExternalMemoryFd {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetMemoryFdKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetMemoryFdKHR.html>
pub unsafe fn get_memory_fd(&self, create_info: &vk::MemoryGetFdInfoKHR) -> VkResult<i32> { pub unsafe fn get_memory_fd(&self, create_info: &vk::MemoryGetFdInfoKHR) -> VkResult<i32> {
let mut fd = -1; let mut fd = -1;
self.fp self.fp
@ -27,7 +27,7 @@ impl ExternalMemoryFd {
.result_with_success(fd) .result_with_success(fd)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetMemoryFdPropertiesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetMemoryFdPropertiesKHR.html>
pub unsafe fn get_memory_fd_properties_khr( pub unsafe fn get_memory_fd_properties_khr(
&self, &self,
handle_type: vk::ExternalMemoryHandleTypeFlags, handle_type: vk::ExternalMemoryHandleTypeFlags,

View file

@ -19,7 +19,7 @@ impl ExternalSemaphoreFd {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkImportSemaphoreFdKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkImportSemaphoreFdKHR.html>
pub unsafe fn import_semaphore_fd( pub unsafe fn import_semaphore_fd(
&self, &self,
import_info: &vk::ImportSemaphoreFdInfoKHR, import_info: &vk::ImportSemaphoreFdInfoKHR,
@ -29,7 +29,7 @@ impl ExternalSemaphoreFd {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetSemaphoreFdKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetSemaphoreFdKHR.html>
pub unsafe fn get_semaphore_fd(&self, get_info: &vk::SemaphoreGetFdInfoKHR) -> VkResult<i32> { pub unsafe fn get_semaphore_fd(&self, get_info: &vk::SemaphoreGetFdInfoKHR) -> VkResult<i32> {
let mut fd = -1; let mut fd = -1;
self.fp self.fp

View file

@ -19,7 +19,7 @@ impl GetMemoryRequirements2 {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetBufferMemoryRequirements2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetBufferMemoryRequirements2KHR.html>
pub unsafe fn get_buffer_memory_requirements2( pub unsafe fn get_buffer_memory_requirements2(
&self, &self,
info: &vk::BufferMemoryRequirementsInfo2KHR, info: &vk::BufferMemoryRequirementsInfo2KHR,
@ -29,7 +29,7 @@ impl GetMemoryRequirements2 {
.get_buffer_memory_requirements2_khr(self.handle, info, memory_requirements); .get_buffer_memory_requirements2_khr(self.handle, info, memory_requirements);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetImageMemoryRequirements2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetImageMemoryRequirements2KHR.html>
pub unsafe fn get_image_memory_requirements2( pub unsafe fn get_image_memory_requirements2(
&self, &self,
info: &vk::ImageMemoryRequirementsInfo2KHR, info: &vk::ImageMemoryRequirementsInfo2KHR,
@ -54,7 +54,7 @@ impl GetMemoryRequirements2 {
count as usize count as usize
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetImageSparseMemoryRequirements2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetImageSparseMemoryRequirements2KHR.html>
/// ///
/// Call [`Self::get_image_sparse_memory_requirements2_len()`] to query the number of elements to pass to `out`. /// Call [`Self::get_image_sparse_memory_requirements2_len()`] to query the number of elements to pass to `out`.
/// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer. /// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer.

View file

@ -18,7 +18,7 @@ impl GetPhysicalDeviceProperties2 {
Self { fp } Self { fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceFeatures2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceFeatures2KHR.html>
pub unsafe fn get_physical_device_features2( pub unsafe fn get_physical_device_features2(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -28,7 +28,7 @@ impl GetPhysicalDeviceProperties2 {
.get_physical_device_features2_khr(physical_device, features); .get_physical_device_features2_khr(physical_device, features);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html>
pub unsafe fn get_physical_device_format_properties2( pub unsafe fn get_physical_device_format_properties2(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -42,7 +42,7 @@ impl GetPhysicalDeviceProperties2 {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html>
pub unsafe fn get_physical_device_image_format_properties2( pub unsafe fn get_physical_device_image_format_properties2(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -58,7 +58,7 @@ impl GetPhysicalDeviceProperties2 {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceMemoryProperties2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceMemoryProperties2KHR.html>
pub unsafe fn get_physical_device_memory_properties2( pub unsafe fn get_physical_device_memory_properties2(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -68,7 +68,7 @@ impl GetPhysicalDeviceProperties2 {
.get_physical_device_memory_properties2_khr(physical_device, memory_properties); .get_physical_device_memory_properties2_khr(physical_device, memory_properties);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceProperties2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceProperties2KHR.html>
pub unsafe fn get_physical_device_properties2( pub unsafe fn get_physical_device_properties2(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -92,7 +92,7 @@ impl GetPhysicalDeviceProperties2 {
count as usize count as usize
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html>
/// ///
/// Call [`Self::get_physical_device_queue_family_properties2_len()`] to query the number of elements to pass to `out`. /// Call [`Self::get_physical_device_queue_family_properties2_len()`] to query the number of elements to pass to `out`.
/// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer. /// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer.
@ -127,7 +127,7 @@ impl GetPhysicalDeviceProperties2 {
count as usize count as usize
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2KHR.html>
/// ///
/// Call [`Self::get_physical_device_sparse_image_format_properties2_len()`] to query the number of elements to pass to `out`. /// Call [`Self::get_physical_device_sparse_image_format_properties2_len()`] to query the number of elements to pass to `out`.
/// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer. /// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer.

View file

@ -17,7 +17,7 @@ impl GetSurfaceCapabilities2 {
Self { fp } Self { fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html>
pub unsafe fn get_physical_device_surface_capabilities2( pub unsafe fn get_physical_device_surface_capabilities2(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -49,7 +49,7 @@ impl GetSurfaceCapabilities2 {
err_code.result_with_success(count as usize) err_code.result_with_success(count as usize)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html>
/// ///
/// Call [`Self::get_physical_device_surface_formats2_len()`] to query the number of elements to pass to `out`. /// Call [`Self::get_physical_device_surface_formats2_len()`] to query the number of elements to pass to `out`.
/// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer. /// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer.

View file

@ -18,7 +18,7 @@ impl Maintenance1 {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkTrimCommandPoolKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkTrimCommandPoolKHR.html>
pub unsafe fn trim_command_pool( pub unsafe fn trim_command_pool(
&self, &self,
command_pool: vk::CommandPool, command_pool: vk::CommandPool,

View file

@ -18,7 +18,7 @@ impl Maintenance3 {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDescriptorSetLayoutSupportKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDescriptorSetLayoutSupportKHR.html>
pub unsafe fn get_descriptor_set_layout_support( pub unsafe fn get_descriptor_set_layout_support(
&self, &self,
create_info: &vk::DescriptorSetLayoutCreateInfo, create_info: &vk::DescriptorSetLayoutCreateInfo,

View file

@ -18,7 +18,7 @@ impl Maintenance4 {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceBufferMemoryRequirementsKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceBufferMemoryRequirementsKHR.html>
pub unsafe fn get_device_buffer_memory_requirements( pub unsafe fn get_device_buffer_memory_requirements(
&self, &self,
create_info: &vk::DeviceBufferMemoryRequirementsKHR, create_info: &vk::DeviceBufferMemoryRequirementsKHR,
@ -28,7 +28,7 @@ impl Maintenance4 {
.get_device_buffer_memory_requirements_khr(self.handle, create_info, out) .get_device_buffer_memory_requirements_khr(self.handle, create_info, out)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceImageMemoryRequirementsKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceImageMemoryRequirementsKHR.html>
pub unsafe fn get_device_image_memory_requirements( pub unsafe fn get_device_image_memory_requirements(
&self, &self,
create_info: &vk::DeviceImageMemoryRequirementsKHR, create_info: &vk::DeviceImageMemoryRequirementsKHR,
@ -53,7 +53,7 @@ impl Maintenance4 {
count as usize count as usize
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceImageSparseMemoryRequirementsKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceImageSparseMemoryRequirementsKHR.html>
/// ///
/// Call [`Self::get_device_image_sparse_memory_requirements_len()`] to query the number of elements to pass to `out`. /// Call [`Self::get_device_image_sparse_memory_requirements_len()`] to query the number of elements to pass to `out`.
/// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer. /// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer.

View file

@ -19,7 +19,7 @@ impl PipelineExecutableProperties {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPipelineExecutableInternalRepresentationsKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPipelineExecutableInternalRepresentationsKHR.html>
pub unsafe fn get_pipeline_executable_internal_representations( pub unsafe fn get_pipeline_executable_internal_representations(
&self, &self,
executable_info: &vk::PipelineExecutableInfoKHR, executable_info: &vk::PipelineExecutableInfoKHR,
@ -35,7 +35,7 @@ impl PipelineExecutableProperties {
}) })
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPipelineExecutablePropertiesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPipelineExecutablePropertiesKHR.html>
pub unsafe fn get_pipeline_executable_properties( pub unsafe fn get_pipeline_executable_properties(
&self, &self,
pipeline_info: &vk::PipelineInfoKHR, pipeline_info: &vk::PipelineInfoKHR,
@ -46,7 +46,7 @@ impl PipelineExecutableProperties {
}) })
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPipelineExecutableStatisticsKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPipelineExecutableStatisticsKHR.html>
pub unsafe fn get_pipeline_executable_statistics( pub unsafe fn get_pipeline_executable_statistics(
&self, &self,
executable_info: &vk::PipelineExecutableInfoKHR, executable_info: &vk::PipelineExecutableInfoKHR,

View file

@ -19,7 +19,7 @@ impl PresentWait {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkWaitForPresentKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkWaitForPresentKHR.html>
pub unsafe fn wait_for_present( pub unsafe fn wait_for_present(
&self, &self,
swapchain: vk::SwapchainKHR, swapchain: vk::SwapchainKHR,

View file

@ -17,7 +17,7 @@ impl PushDescriptor {
Self { fp } Self { fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdPushDescriptorSetKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdPushDescriptorSetKHR.html>
pub unsafe fn cmd_push_descriptor_set( pub unsafe fn cmd_push_descriptor_set(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -36,7 +36,7 @@ impl PushDescriptor {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdPushDescriptorSetWithTemplateKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdPushDescriptorSetWithTemplateKHR.html>
pub unsafe fn cmd_push_descriptor_set_with_template( pub unsafe fn cmd_push_descriptor_set_with_template(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,

View file

@ -32,7 +32,7 @@ impl RayTracingPipeline {
props_rt props_rt
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdTraceRaysKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdTraceRaysKHR.html>
pub unsafe fn cmd_trace_rays( pub unsafe fn cmd_trace_rays(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -56,7 +56,7 @@ impl RayTracingPipeline {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateRayTracingPipelinesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateRayTracingPipelinesKHR.html>
pub unsafe fn create_ray_tracing_pipelines( pub unsafe fn create_ray_tracing_pipelines(
&self, &self,
deferred_operation: vk::DeferredOperationKHR, deferred_operation: vk::DeferredOperationKHR,
@ -78,7 +78,7 @@ impl RayTracingPipeline {
.result_with_success(pipelines) .result_with_success(pipelines)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetRayTracingShaderGroupHandlesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetRayTracingShaderGroupHandlesKHR.html>
pub unsafe fn get_ray_tracing_shader_group_handles( pub unsafe fn get_ray_tracing_shader_group_handles(
&self, &self,
pipeline: vk::Pipeline, pipeline: vk::Pipeline,
@ -99,7 +99,7 @@ impl RayTracingPipeline {
err_code.result_with_success(data) err_code.result_with_success(data)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetRayTracingCaptureReplayShaderGroupHandlesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetRayTracingCaptureReplayShaderGroupHandlesKHR.html>
pub unsafe fn get_ray_tracing_capture_replay_shader_group_handles( pub unsafe fn get_ray_tracing_capture_replay_shader_group_handles(
&self, &self,
pipeline: vk::Pipeline, pipeline: vk::Pipeline,
@ -121,7 +121,7 @@ impl RayTracingPipeline {
.result_with_success(data) .result_with_success(data)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdTraceRaysIndirectKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdTraceRaysIndirectKHR.html>
pub unsafe fn cmd_trace_rays_indirect( pub unsafe fn cmd_trace_rays_indirect(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -141,7 +141,7 @@ impl RayTracingPipeline {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetRayTracingShaderGroupStackSizeKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetRayTracingShaderGroupStackSizeKHR.html>
pub unsafe fn get_ray_tracing_shader_group_stack_size( pub unsafe fn get_ray_tracing_shader_group_stack_size(
&self, &self,
pipeline: vk::Pipeline, pipeline: vk::Pipeline,
@ -156,7 +156,7 @@ impl RayTracingPipeline {
) )
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetRayTracingPipelineStackSizeKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetRayTracingPipelineStackSizeKHR.html>
pub unsafe fn cmd_set_ray_tracing_pipeline_stack_size( pub unsafe fn cmd_set_ray_tracing_pipeline_stack_size(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,

View file

@ -20,7 +20,7 @@ impl Surface {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSurfaceSupportKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSurfaceSupportKHR.html>
pub unsafe fn get_physical_device_surface_support( pub unsafe fn get_physical_device_surface_support(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -38,7 +38,7 @@ impl Surface {
.result_with_success(b > 0) .result_with_success(b > 0)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSurfacePresentModesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSurfacePresentModesKHR.html>
pub unsafe fn get_physical_device_surface_present_modes( pub unsafe fn get_physical_device_surface_present_modes(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -54,7 +54,7 @@ impl Surface {
}) })
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSurfaceCapabilitiesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSurfaceCapabilitiesKHR.html>
pub unsafe fn get_physical_device_surface_capabilities( pub unsafe fn get_physical_device_surface_capabilities(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -70,7 +70,7 @@ impl Surface {
.result_with_success(surface_capabilities) .result_with_success(surface_capabilities)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSurfaceFormatsKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSurfaceFormatsKHR.html>
pub unsafe fn get_physical_device_surface_formats( pub unsafe fn get_physical_device_surface_formats(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -82,7 +82,7 @@ impl Surface {
}) })
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroySurfaceKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroySurfaceKHR.html>
pub unsafe fn destroy_surface( pub unsafe fn destroy_surface(
&self, &self,
surface: vk::SurfaceKHR, surface: vk::SurfaceKHR,

View file

@ -20,7 +20,7 @@ impl Swapchain {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroySwapchainKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroySwapchainKHR.html>
pub unsafe fn destroy_swapchain( pub unsafe fn destroy_swapchain(
&self, &self,
swapchain: vk::SwapchainKHR, swapchain: vk::SwapchainKHR,
@ -31,7 +31,7 @@ impl Swapchain {
} }
/// On success, returns the next image's index and whether the swapchain is suboptimal for the surface. /// On success, returns the next image's index and whether the swapchain is suboptimal for the surface.
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkAcquireNextImageKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkAcquireNextImageKHR.html>
pub unsafe fn acquire_next_image( pub unsafe fn acquire_next_image(
&self, &self,
swapchain: vk::SwapchainKHR, swapchain: vk::SwapchainKHR,
@ -55,7 +55,7 @@ impl Swapchain {
} }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateSwapchainKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateSwapchainKHR.html>
pub unsafe fn create_swapchain( pub unsafe fn create_swapchain(
&self, &self,
create_info: &vk::SwapchainCreateInfoKHR, create_info: &vk::SwapchainCreateInfoKHR,
@ -73,7 +73,7 @@ impl Swapchain {
} }
/// On success, returns whether the swapchain is suboptimal for the surface. /// On success, returns whether the swapchain is suboptimal for the surface.
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkQueuePresentKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkQueuePresentKHR.html>
pub unsafe fn queue_present( pub unsafe fn queue_present(
&self, &self,
queue: vk::Queue, queue: vk::Queue,
@ -87,7 +87,7 @@ impl Swapchain {
} }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetSwapchainImagesKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetSwapchainImagesKHR.html>
pub unsafe fn get_swapchain_images( pub unsafe fn get_swapchain_images(
&self, &self,
swapchain: vk::SwapchainKHR, swapchain: vk::SwapchainKHR,

View file

@ -17,7 +17,7 @@ impl Synchronization2 {
Self { fp } Self { fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdPipelineBarrier2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdPipelineBarrier2KHR.html>
pub unsafe fn cmd_pipeline_barrier2( pub unsafe fn cmd_pipeline_barrier2(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -27,7 +27,7 @@ impl Synchronization2 {
.cmd_pipeline_barrier2_khr(command_buffer, dependency_info) .cmd_pipeline_barrier2_khr(command_buffer, dependency_info)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdResetEvent2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdResetEvent2KHR.html>
pub unsafe fn cmd_reset_event2( pub unsafe fn cmd_reset_event2(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -38,7 +38,7 @@ impl Synchronization2 {
.cmd_reset_event2_khr(command_buffer, event, stage_mask) .cmd_reset_event2_khr(command_buffer, event, stage_mask)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetEvent2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetEvent2KHR.html>
pub unsafe fn cmd_set_event2( pub unsafe fn cmd_set_event2(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -49,7 +49,7 @@ impl Synchronization2 {
.cmd_set_event2_khr(command_buffer, event, dependency_info) .cmd_set_event2_khr(command_buffer, event, dependency_info)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdWaitEvents2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdWaitEvents2KHR.html>
pub unsafe fn cmd_wait_events2( pub unsafe fn cmd_wait_events2(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -65,7 +65,7 @@ impl Synchronization2 {
) )
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdWriteTimestamp2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdWriteTimestamp2KHR.html>
pub unsafe fn cmd_write_timestamp2( pub unsafe fn cmd_write_timestamp2(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -77,7 +77,7 @@ impl Synchronization2 {
.cmd_write_timestamp2_khr(command_buffer, stage, query_pool, query) .cmd_write_timestamp2_khr(command_buffer, stage, query_pool, query)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkQueueSubmit2KHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkQueueSubmit2KHR.html>
pub unsafe fn queue_submit2( pub unsafe fn queue_submit2(
&self, &self,
queue: vk::Queue, queue: vk::Queue,

View file

@ -19,7 +19,7 @@ impl TimelineSemaphore {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetSemaphoreCounterValue.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetSemaphoreCounterValue.html>
pub unsafe fn get_semaphore_counter_value(&self, semaphore: vk::Semaphore) -> VkResult<u64> { pub unsafe fn get_semaphore_counter_value(&self, semaphore: vk::Semaphore) -> VkResult<u64> {
let mut value = 0; let mut value = 0;
self.fp self.fp
@ -27,7 +27,7 @@ impl TimelineSemaphore {
.result_with_success(value) .result_with_success(value)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkWaitSemaphores.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkWaitSemaphores.html>
pub unsafe fn wait_semaphores( pub unsafe fn wait_semaphores(
&self, &self,
wait_info: &vk::SemaphoreWaitInfo, wait_info: &vk::SemaphoreWaitInfo,
@ -38,7 +38,7 @@ impl TimelineSemaphore {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkSignalSemaphore.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkSignalSemaphore.html>
pub unsafe fn signal_semaphore(&self, signal_info: &vk::SemaphoreSignalInfo) -> VkResult<()> { pub unsafe fn signal_semaphore(&self, signal_info: &vk::SemaphoreSignalInfo) -> VkResult<()> {
self.fp self.fp
.signal_semaphore_khr(self.handle, signal_info) .signal_semaphore_khr(self.handle, signal_info)

View file

@ -20,7 +20,7 @@ impl WaylandSurface {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateWaylandSurfaceKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateWaylandSurfaceKHR.html>
pub unsafe fn create_wayland_surface( pub unsafe fn create_wayland_surface(
&self, &self,
create_info: &vk::WaylandSurfaceCreateInfoKHR, create_info: &vk::WaylandSurfaceCreateInfoKHR,
@ -37,7 +37,7 @@ impl WaylandSurface {
.result_with_success(surface) .result_with_success(surface)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceWaylandPresentationSupportKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceWaylandPresentationSupportKHR.html>
pub unsafe fn get_physical_device_wayland_presentation_support( pub unsafe fn get_physical_device_wayland_presentation_support(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,

View file

@ -20,7 +20,7 @@ impl Win32Surface {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateWin32SurfaceKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateWin32SurfaceKHR.html>
pub unsafe fn create_win32_surface( pub unsafe fn create_win32_surface(
&self, &self,
create_info: &vk::Win32SurfaceCreateInfoKHR, create_info: &vk::Win32SurfaceCreateInfoKHR,
@ -37,7 +37,7 @@ impl Win32Surface {
.result_with_success(surface) .result_with_success(surface)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceWin32PresentationSupportKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceWin32PresentationSupportKHR.html>
pub unsafe fn get_physical_device_win32_presentation_support( pub unsafe fn get_physical_device_win32_presentation_support(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,

View file

@ -20,7 +20,7 @@ impl XcbSurface {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateXcbSurfaceKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateXcbSurfaceKHR.html>
pub unsafe fn create_xcb_surface( pub unsafe fn create_xcb_surface(
&self, &self,
create_info: &vk::XcbSurfaceCreateInfoKHR, create_info: &vk::XcbSurfaceCreateInfoKHR,
@ -37,7 +37,7 @@ impl XcbSurface {
.result_with_success(surface) .result_with_success(surface)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceXcbPresentationSupportKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceXcbPresentationSupportKHR.html>
pub unsafe fn get_physical_device_xcb_presentation_support( pub unsafe fn get_physical_device_xcb_presentation_support(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,

View file

@ -20,7 +20,7 @@ impl XlibSurface {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateXlibSurfaceKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateXlibSurfaceKHR.html>
pub unsafe fn create_xlib_surface( pub unsafe fn create_xlib_surface(
&self, &self,
create_info: &vk::XlibSurfaceCreateInfoKHR, create_info: &vk::XlibSurfaceCreateInfoKHR,
@ -37,7 +37,7 @@ impl XlibSurface {
.result_with_success(surface) .result_with_success(surface)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceXlibPresentationSupportKHR.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceXlibPresentationSupportKHR.html>
pub unsafe fn get_physical_device_xlib_presentation_support( pub unsafe fn get_physical_device_xlib_presentation_support(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,

View file

@ -20,7 +20,7 @@ impl IOSSurface {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateIOSSurfaceMVK.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateIOSSurfaceMVK.html>
pub unsafe fn create_ios_surface( pub unsafe fn create_ios_surface(
&self, &self,
create_info: &vk::IOSSurfaceCreateInfoMVK, create_info: &vk::IOSSurfaceCreateInfoMVK,

View file

@ -20,7 +20,7 @@ impl MacOSSurface {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateMacOSSurfaceMVK.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateMacOSSurfaceMVK.html>
pub unsafe fn create_mac_os_surface( pub unsafe fn create_mac_os_surface(
&self, &self,
create_info: &vk::MacOSSurfaceCreateInfoMVK, create_info: &vk::MacOSSurfaceCreateInfoMVK,

View file

@ -20,7 +20,7 @@ impl ViSurface {
Self { handle, fp } Self { handle, fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateViSurfaceNN.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateViSurfaceNN.html>
pub unsafe fn create_vi_surface( pub unsafe fn create_vi_surface(
&self, &self,
create_info: &vk::ViSurfaceCreateInfoNN, create_info: &vk::ViSurfaceCreateInfoNN,

View file

@ -17,7 +17,7 @@ impl DeviceDiagnosticCheckpoints {
Self { fp } Self { fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetCheckpointNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdSetCheckpointNV.html>
pub unsafe fn cmd_set_checkpoint( pub unsafe fn cmd_set_checkpoint(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -27,7 +27,7 @@ impl DeviceDiagnosticCheckpoints {
.cmd_set_checkpoint_nv(command_buffer, p_checkpoint_marker); .cmd_set_checkpoint_nv(command_buffer, p_checkpoint_marker);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetQueueCheckpointDataNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetQueueCheckpointDataNV.html>
pub unsafe fn get_queue_checkpoint_data(&self, queue: vk::Queue) -> Vec<vk::CheckpointDataNV> { pub unsafe fn get_queue_checkpoint_data(&self, queue: vk::Queue) -> Vec<vk::CheckpointDataNV> {
let mut checkpoint_data_count: u32 = 0; let mut checkpoint_data_count: u32 = 0;
self.fp.get_queue_checkpoint_data_nv( self.fp.get_queue_checkpoint_data_nv(

View file

@ -16,7 +16,7 @@ impl MeshShader {
Self { fp } Self { fp }
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdDrawMeshTasksNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdDrawMeshTasksNV.html>
pub unsafe fn cmd_draw_mesh_tasks( pub unsafe fn cmd_draw_mesh_tasks(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -27,7 +27,7 @@ impl MeshShader {
.cmd_draw_mesh_tasks_nv(command_buffer, task_count, first_task); .cmd_draw_mesh_tasks_nv(command_buffer, task_count, first_task);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdDrawMeshTasksIndirectNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdDrawMeshTasksIndirectNV.html>
pub unsafe fn cmd_draw_mesh_tasks_indirect( pub unsafe fn cmd_draw_mesh_tasks_indirect(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -40,7 +40,7 @@ impl MeshShader {
.cmd_draw_mesh_tasks_indirect_nv(command_buffer, buffer, offset, draw_count, stride); .cmd_draw_mesh_tasks_indirect_nv(command_buffer, buffer, offset, draw_count, stride);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdDrawMeshTasksIndirectCountNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdDrawMeshTasksIndirectCountNV.html>
pub unsafe fn cmd_draw_mesh_tasks_indirect_count( pub unsafe fn cmd_draw_mesh_tasks_indirect_count(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,

View file

@ -32,7 +32,7 @@ impl RayTracing {
props_rt props_rt
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateAccelerationStructureNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateAccelerationStructureNV.html>
pub unsafe fn create_acceleration_structure( pub unsafe fn create_acceleration_structure(
&self, &self,
create_info: &vk::AccelerationStructureCreateInfoNV, create_info: &vk::AccelerationStructureCreateInfoNV,
@ -49,7 +49,7 @@ impl RayTracing {
.result_with_success(accel_struct) .result_with_success(accel_struct)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroyAccelerationStructureNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroyAccelerationStructureNV.html>
pub unsafe fn destroy_acceleration_structure( pub unsafe fn destroy_acceleration_structure(
&self, &self,
accel_struct: vk::AccelerationStructureNV, accel_struct: vk::AccelerationStructureNV,
@ -62,7 +62,7 @@ impl RayTracing {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetAccelerationStructureMemoryRequirementsNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetAccelerationStructureMemoryRequirementsNV.html>
pub unsafe fn get_acceleration_structure_memory_requirements( pub unsafe fn get_acceleration_structure_memory_requirements(
&self, &self,
info: &vk::AccelerationStructureMemoryRequirementsInfoNV, info: &vk::AccelerationStructureMemoryRequirementsInfoNV,
@ -76,7 +76,7 @@ impl RayTracing {
requirements requirements
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkBindAccelerationStructureMemoryNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkBindAccelerationStructureMemoryNV.html>
pub unsafe fn bind_acceleration_structure_memory( pub unsafe fn bind_acceleration_structure_memory(
&self, &self,
bind_info: &[vk::BindAccelerationStructureMemoryInfoNV], bind_info: &[vk::BindAccelerationStructureMemoryInfoNV],
@ -90,7 +90,7 @@ impl RayTracing {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBuildAccelerationStructureNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBuildAccelerationStructureNV.html>
pub unsafe fn cmd_build_acceleration_structure( pub unsafe fn cmd_build_acceleration_structure(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -116,7 +116,7 @@ impl RayTracing {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdCopyAccelerationStructureNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdCopyAccelerationStructureNV.html>
pub unsafe fn cmd_copy_acceleration_structure( pub unsafe fn cmd_copy_acceleration_structure(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -128,7 +128,7 @@ impl RayTracing {
.cmd_copy_acceleration_structure_nv(command_buffer, dst, src, mode); .cmd_copy_acceleration_structure_nv(command_buffer, dst, src, mode);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdTraceRaysNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdTraceRaysNV.html>
pub unsafe fn cmd_trace_rays( pub unsafe fn cmd_trace_rays(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -166,7 +166,7 @@ impl RayTracing {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateRayTracingPipelinesNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateRayTracingPipelinesNV.html>
pub unsafe fn create_ray_tracing_pipelines( pub unsafe fn create_ray_tracing_pipelines(
&self, &self,
pipeline_cache: vk::PipelineCache, pipeline_cache: vk::PipelineCache,
@ -186,7 +186,7 @@ impl RayTracing {
.result_with_success(pipelines) .result_with_success(pipelines)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetRayTracingShaderGroupHandlesNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetRayTracingShaderGroupHandlesNV.html>
pub unsafe fn get_ray_tracing_shader_group_handles( pub unsafe fn get_ray_tracing_shader_group_handles(
&self, &self,
pipeline: vk::Pipeline, pipeline: vk::Pipeline,
@ -206,7 +206,7 @@ impl RayTracing {
.result() .result()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetAccelerationStructureHandleNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetAccelerationStructureHandleNV.html>
pub unsafe fn get_acceleration_structure_handle( pub unsafe fn get_acceleration_structure_handle(
&self, &self,
accel_struct: vk::AccelerationStructureNV, accel_struct: vk::AccelerationStructureNV,
@ -223,7 +223,7 @@ impl RayTracing {
.result_with_success(handle) .result_with_success(handle)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdWriteAccelerationStructuresPropertiesNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdWriteAccelerationStructuresPropertiesNV.html>
pub unsafe fn cmd_write_acceleration_structures_properties( pub unsafe fn cmd_write_acceleration_structures_properties(
&self, &self,
command_buffer: vk::CommandBuffer, command_buffer: vk::CommandBuffer,
@ -242,7 +242,7 @@ impl RayTracing {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCompileDeferredNV.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCompileDeferredNV.html>
pub unsafe fn compile_deferred(&self, pipeline: vk::Pipeline, shader: u32) -> VkResult<()> { pub unsafe fn compile_deferred(&self, pipeline: vk::Pipeline, shader: u32) -> VkResult<()> {
self.fp self.fp
.compile_deferred_nv(self.handle, pipeline, shader) .compile_deferred_nv(self.handle, pipeline, shader)

View file

@ -6,7 +6,7 @@ use std::mem;
use std::os::raw::c_char; use std::os::raw::c_char;
use std::ptr; use std::ptr;
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkInstance.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkInstance.html>
#[derive(Clone)] #[derive(Clone)]
pub struct Instance { pub struct Instance {
pub(crate) handle: vk::Instance, pub(crate) handle: vk::Instance,
@ -59,7 +59,7 @@ impl Instance {
.result_with_success(group_count as usize) .result_with_success(group_count as usize)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumeratePhysicalDeviceGroups.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumeratePhysicalDeviceGroups.html>
/// ///
/// Call [`Self::enumerate_physical_device_groups_len()`] to query the number of elements to pass to `out`. /// Call [`Self::enumerate_physical_device_groups_len()`] to query the number of elements to pass to `out`.
/// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer. /// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer.
@ -75,7 +75,7 @@ impl Instance {
Ok(()) Ok(())
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceFeatures2.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceFeatures2.html>
pub unsafe fn get_physical_device_features2( pub unsafe fn get_physical_device_features2(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -85,7 +85,7 @@ impl Instance {
.get_physical_device_features2(physical_device, features); .get_physical_device_features2(physical_device, features);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceProperties2.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceProperties2.html>
pub unsafe fn get_physical_device_properties2( pub unsafe fn get_physical_device_properties2(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -95,7 +95,7 @@ impl Instance {
.get_physical_device_properties2(physical_device, prop); .get_physical_device_properties2(physical_device, prop);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceFormatProperties2.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceFormatProperties2.html>
pub unsafe fn get_physical_device_format_properties2( pub unsafe fn get_physical_device_format_properties2(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -106,7 +106,7 @@ impl Instance {
.get_physical_device_format_properties2(physical_device, format, out); .get_physical_device_format_properties2(physical_device, format, out);
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceImageFormatProperties2.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceImageFormatProperties2.html>
pub unsafe fn get_physical_device_image_format_properties2( pub unsafe fn get_physical_device_image_format_properties2(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -137,7 +137,7 @@ impl Instance {
queue_count as usize queue_count as usize
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html>
/// ///
/// Call [`Self::get_physical_device_queue_family_properties2_len()`] to query the number of elements to pass to `out`. /// Call [`Self::get_physical_device_queue_family_properties2_len()`] to query the number of elements to pass to `out`.
/// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer. /// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer.
@ -156,7 +156,7 @@ impl Instance {
assert_eq!(count as usize, out.len()); assert_eq!(count as usize, out.len());
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceMemoryProperties2.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceMemoryProperties2.html>
pub unsafe fn get_physical_device_memory_properties2( pub unsafe fn get_physical_device_memory_properties2(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -183,7 +183,7 @@ impl Instance {
format_count as usize format_count as usize
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2.html>
/// ///
/// Call [`Self::get_physical_device_sparse_image_format_properties2_len()`] to query the number of elements to pass to `out`. /// Call [`Self::get_physical_device_sparse_image_format_properties2_len()`] to query the number of elements to pass to `out`.
/// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer. /// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer.
@ -204,7 +204,7 @@ impl Instance {
assert_eq!(count as usize, out.len()); assert_eq!(count as usize, out.len());
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceExternalBufferProperties.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceExternalBufferProperties.html>
pub unsafe fn get_physical_device_external_buffer_properties( pub unsafe fn get_physical_device_external_buffer_properties(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -219,7 +219,7 @@ impl Instance {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceExternalFenceProperties.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceExternalFenceProperties.html>
pub unsafe fn get_physical_device_external_fence_properties( pub unsafe fn get_physical_device_external_fence_properties(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -234,7 +234,7 @@ impl Instance {
); );
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceExternalSemaphoreProperties.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceExternalSemaphoreProperties.html>
pub unsafe fn get_physical_device_external_semaphore_properties( pub unsafe fn get_physical_device_external_semaphore_properties(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -257,7 +257,7 @@ impl Instance {
&self.instance_fn_1_0 &self.instance_fn_1_0
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateDevice.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCreateDevice.html>
/// ///
/// # Safety /// # Safety
/// In order for the created [`Device`] to be valid for the duration of its /// In order for the created [`Device`] to be valid for the duration of its
@ -281,7 +281,7 @@ impl Instance {
Ok(Device::load(&self.instance_fn_1_0, device)) Ok(Device::load(&self.instance_fn_1_0, device))
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceProcAddr.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceProcAddr.html>
pub unsafe fn get_device_proc_addr( pub unsafe fn get_device_proc_addr(
&self, &self,
device: vk::Device, device: vk::Device,
@ -290,13 +290,13 @@ impl Instance {
self.instance_fn_1_0.get_device_proc_addr(device, p_name) self.instance_fn_1_0.get_device_proc_addr(device, p_name)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroyInstance.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkDestroyInstance.html>
pub unsafe fn destroy_instance(&self, allocation_callbacks: Option<&vk::AllocationCallbacks>) { pub unsafe fn destroy_instance(&self, allocation_callbacks: Option<&vk::AllocationCallbacks>) {
self.instance_fn_1_0 self.instance_fn_1_0
.destroy_instance(self.handle(), allocation_callbacks.as_raw_ptr()); .destroy_instance(self.handle(), allocation_callbacks.as_raw_ptr());
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceFormatProperties.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceFormatProperties.html>
pub unsafe fn get_physical_device_format_properties( pub unsafe fn get_physical_device_format_properties(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -311,7 +311,7 @@ impl Instance {
format_prop format_prop
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceImageFormatProperties.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceImageFormatProperties.html>
pub unsafe fn get_physical_device_image_format_properties( pub unsafe fn get_physical_device_image_format_properties(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -335,7 +335,7 @@ impl Instance {
.result_with_success(image_format_prop) .result_with_success(image_format_prop)
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceMemoryProperties.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceMemoryProperties.html>
pub unsafe fn get_physical_device_memory_properties( pub unsafe fn get_physical_device_memory_properties(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -346,7 +346,7 @@ impl Instance {
memory_prop memory_prop
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceProperties.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceProperties.html>
pub unsafe fn get_physical_device_properties( pub unsafe fn get_physical_device_properties(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -357,7 +357,7 @@ impl Instance {
prop prop
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceQueueFamilyProperties.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceQueueFamilyProperties.html>
pub unsafe fn get_physical_device_queue_family_properties( pub unsafe fn get_physical_device_queue_family_properties(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -371,7 +371,7 @@ impl Instance {
.unwrap() .unwrap()
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceFeatures.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceFeatures.html>
pub unsafe fn get_physical_device_features( pub unsafe fn get_physical_device_features(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,
@ -382,7 +382,7 @@ impl Instance {
prop prop
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumeratePhysicalDevices.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumeratePhysicalDevices.html>
pub unsafe fn enumerate_physical_devices(&self) -> VkResult<Vec<vk::PhysicalDevice>> { pub unsafe fn enumerate_physical_devices(&self) -> VkResult<Vec<vk::PhysicalDevice>> {
read_into_uninitialized_vector(|count, data| { read_into_uninitialized_vector(|count, data| {
self.instance_fn_1_0 self.instance_fn_1_0
@ -390,7 +390,7 @@ impl Instance {
}) })
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumerateDeviceExtensionProperties.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumerateDeviceExtensionProperties.html>
pub unsafe fn enumerate_device_extension_properties( pub unsafe fn enumerate_device_extension_properties(
&self, &self,
device: vk::PhysicalDevice, device: vk::PhysicalDevice,
@ -405,7 +405,7 @@ impl Instance {
}) })
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumerateDeviceLayerProperties.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumerateDeviceLayerProperties.html>
pub unsafe fn enumerate_device_layer_properties( pub unsafe fn enumerate_device_layer_properties(
&self, &self,
device: vk::PhysicalDevice, device: vk::PhysicalDevice,
@ -416,7 +416,7 @@ impl Instance {
}) })
} }
#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSparseImageFormatProperties.html>"] /// <https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetPhysicalDeviceSparseImageFormatProperties.html>
pub unsafe fn get_physical_device_sparse_image_format_properties( pub unsafe fn get_physical_device_sparse_image_format_properties(
&self, &self,
physical_device: vk::PhysicalDevice, physical_device: vk::PhysicalDevice,