| 1 | //! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_debug_utils.html> |
| 2 | |
| 3 | use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::preluderust-analyzer cargo ash 0.38.0+1.3.281 prelude/::*; |
| 4 | use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/; |
| 5 | use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::RawPtrrust-analyzer cargo ash 0.38.0+1.3.281 RawPtr#; |
| 6 | use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/; |
| 7 | |
| 8 | impl craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/::debug_utilsrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/::Devicerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Device# { |
| 9 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkSetDebugUtilsObjectNameEXT.html> |
| 10 | #[inline] |
| 11 | pub unsafe fn set_debug_utils_object_namerust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/debug_utils/impl#[`crate::ext::debug_utils::Device`]set_debug_utils_object_name().( |
| 12 | &self, |
| 13 | name_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugUtilsObjectNameInfoEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DebugUtilsObjectNameInfoEXT#<'_>, |
| 14 | ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> { |
| 15 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Device#fp..set_debug_utils_object_name_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/DeviceFn#set_debug_utils_object_name_ext.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Device#handle., name_info).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().() |
| 16 | } |
| 17 | |
| 18 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkSetDebugUtilsObjectTagEXT.html> |
| 19 | #[inline] |
| 20 | pub unsafe fn set_debug_utils_object_tagrust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/debug_utils/impl#[`crate::ext::debug_utils::Device`]set_debug_utils_object_tag().( |
| 21 | &self, |
| 22 | tag_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugUtilsObjectTagInfoEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DebugUtilsObjectTagInfoEXT#<'_>, |
| 23 | ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> { |
| 24 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Device#fp..set_debug_utils_object_tag_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/DeviceFn#set_debug_utils_object_tag_ext.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Device#handle., tag_info).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().() |
| 25 | } |
| 26 | |
| 27 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdBeginDebugUtilsLabelEXT.html> |
| 28 | #[inline] |
| 29 | pub unsafe fn cmd_begin_debug_utils_labelrust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/debug_utils/impl#[`crate::ext::debug_utils::Device`]cmd_begin_debug_utils_label().( |
| 30 | &self, |
| 31 | command_buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandBufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandBuffer#, |
| 32 | label: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugUtilsLabelEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DebugUtilsLabelEXT#<'_>, |
| 33 | ) { |
| 34 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Device#fp..cmd_begin_debug_utils_label_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/DeviceFn#cmd_begin_debug_utils_label_ext.)(command_buffer, label); |
| 35 | } |
| 36 | |
| 37 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdEndDebugUtilsLabelEXT.html> |
| 38 | #[inline] |
| 39 | pub unsafe fn cmd_end_debug_utils_labelrust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/debug_utils/impl#[`crate::ext::debug_utils::Device`]cmd_end_debug_utils_label().(&self, command_buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandBufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandBuffer#) { |
| 40 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Device#fp..cmd_end_debug_utils_label_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/DeviceFn#cmd_end_debug_utils_label_ext.)(command_buffer); |
| 41 | } |
| 42 | |
| 43 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdInsertDebugUtilsLabelEXT.html> |
| 44 | #[inline] |
| 45 | pub unsafe fn cmd_insert_debug_utils_labelrust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/debug_utils/impl#[`crate::ext::debug_utils::Device`]cmd_insert_debug_utils_label().( |
| 46 | &self, |
| 47 | command_buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandBufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandBuffer#, |
| 48 | label: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugUtilsLabelEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DebugUtilsLabelEXT#<'_>, |
| 49 | ) { |
| 50 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Device#fp..cmd_insert_debug_utils_label_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/DeviceFn#cmd_insert_debug_utils_label_ext.)(command_buffer, label); |
| 51 | } |
| 52 | |
| 53 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkQueueBeginDebugUtilsLabelEXT.html> |
| 54 | #[inline] |
| 55 | pub unsafe fn queue_begin_debug_utils_labelrust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/debug_utils/impl#[`crate::ext::debug_utils::Device`]queue_begin_debug_utils_label().( |
| 56 | &self, |
| 57 | queue: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Queuerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Queue#, |
| 58 | label: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugUtilsLabelEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DebugUtilsLabelEXT#<'_>, |
| 59 | ) { |
| 60 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Device#fp..queue_begin_debug_utils_label_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/DeviceFn#queue_begin_debug_utils_label_ext.)(queue, label); |
| 61 | } |
| 62 | |
| 63 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkQueueEndDebugUtilsLabelEXT.html> |
| 64 | #[inline] |
| 65 | pub unsafe fn queue_end_debug_utils_labelrust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/debug_utils/impl#[`crate::ext::debug_utils::Device`]queue_end_debug_utils_label().(&self, queue: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Queuerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Queue#) { |
| 66 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Device#fp..queue_end_debug_utils_label_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/DeviceFn#queue_end_debug_utils_label_ext.)(queue); |
| 67 | } |
| 68 | |
| 69 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkQueueInsertDebugUtilsLabelEXT.html> |
| 70 | #[inline] |
| 71 | pub unsafe fn queue_insert_debug_utils_labelrust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/debug_utils/impl#[`crate::ext::debug_utils::Device`]queue_insert_debug_utils_label().( |
| 72 | &self, |
| 73 | queue: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Queuerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Queue#, |
| 74 | label: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugUtilsLabelEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DebugUtilsLabelEXT#<'_>, |
| 75 | ) { |
| 76 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Device#fp..queue_insert_debug_utils_label_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/DeviceFn#queue_insert_debug_utils_label_ext.)(queue, label); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | impl craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/::debug_utilsrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/::Instancerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Instance# { |
| 81 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateDebugUtilsMessengerEXT.html> |
| 82 | #[inline] |
| 83 | pub unsafe fn create_debug_utils_messengerrust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/debug_utils/impl#[`crate::ext::debug_utils::Instance`]create_debug_utils_messenger().( |
| 84 | &self, |
| 85 | create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugUtilsMessengerCreateInfoEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DebugUtilsMessengerCreateInfoEXT#<'_>, |
| 86 | allocator: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<&vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::AllocationCallbacksrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/AllocationCallbacks#<'_>>, |
| 87 | ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugUtilsMessengerEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DebugUtilsMessengerEXT#> { |
| 88 | let mut messenger = memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/::MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::uninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]uninit().(); |
| 89 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Instance#fp..create_debug_utils_messenger_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/InstanceFn#create_debug_utils_messenger_ext.)( |
| 90 | self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Instance#handle., |
| 91 | create_info, |
| 92 | allocator.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(), |
| 93 | messenger.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(), |
| 94 | ) |
| 95 | .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(messenger) |
| 96 | } |
| 97 | |
| 98 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyDebugUtilsMessengerEXT.html> |
| 99 | #[inline] |
| 100 | pub unsafe fn destroy_debug_utils_messengerrust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/debug_utils/impl#[`crate::ext::debug_utils::Instance`]destroy_debug_utils_messenger().( |
| 101 | &self, |
| 102 | messenger: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugUtilsMessengerEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DebugUtilsMessengerEXT#, |
| 103 | allocator: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<&vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::AllocationCallbacksrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/AllocationCallbacks#<'_>>, |
| 104 | ) { |
| 105 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Instance#fp..destroy_debug_utils_messenger_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/InstanceFn#destroy_debug_utils_messenger_ext.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Instance#handle., messenger, allocator.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().()); |
| 106 | } |
| 107 | |
| 108 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkSubmitDebugUtilsMessageEXT.html> |
| 109 | #[inline] |
| 110 | pub unsafe fn submit_debug_utils_messagerust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/debug_utils/impl#[`crate::ext::debug_utils::Instance`]submit_debug_utils_message().( |
| 111 | &self, |
| 112 | message_severity: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugUtilsMessageSeverityFlagsEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/DebugUtilsMessageSeverityFlagsEXT#, |
| 113 | message_types: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugUtilsMessageTypeFlagsEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/DebugUtilsMessageTypeFlagsEXT#, |
| 114 | callback_data: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DebugUtilsMessengerCallbackDataEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DebugUtilsMessengerCallbackDataEXT#<'_>, |
| 115 | ) { |
| 116 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Instance#fp..submit_debug_utils_message_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/InstanceFn#submit_debug_utils_message_ext.)( |
| 117 | self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/debug_utils/Instance#handle., |
| 118 | message_severity, |
| 119 | message_types, |
| 120 | callback_data, |
| 121 | ); |
| 122 | } |
| 123 | } |