Debian Codegraph @

src/device.rs

raw symbols SCIP
1 #![allow(clippy::trivially_copy_pass_by_ref)]
2 use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::preluderust-analyzer cargo ash 0.38.0+1.3.281 prelude/::*;
3 use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/;
4 use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::RawPtrrust-analyzer cargo ash 0.38.0+1.3.281 RawPtr#;
5 use allocrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc crate/::vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/::Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#;
6 use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::ffirust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/;
7 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/;
8 use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/;
9
10 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDevice.html>
11 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:)]
12 pub struct Devicerust-analyzer cargo ash 0.38.0+1.3.281 device/Device# {
13 pub(craterust-analyzer cargo ash 0.38.0+1.3.281 crate/) handlerust-analyzer cargo ash 0.38.0+1.3.281 device/Device#handle.: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Devicerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Device#,
14
15 pub(craterust-analyzer cargo ash 0.38.0+1.3.281 crate/) device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0.: craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_0rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#,
16 pub(craterust-analyzer cargo ash 0.38.0+1.3.281 crate/) device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1.: craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_1rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#,
17 pub(craterust-analyzer cargo ash 0.38.0+1.3.281 crate/) device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2.: craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#,
18 pub(craterust-analyzer cargo ash 0.38.0+1.3.281 crate/) device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3.: craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_3rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#,
19 }
20
21 impl Devicerust-analyzer cargo ash 0.38.0+1.3.281 device/Device# {
22 pub unsafe fn loadrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]load().(instance_fn: &craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::InstanceFnV1_0rust-analyzer cargo ash 0.38.0+1.3.281 tables/InstanceFnV1_0#, device: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Devicerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Device#) -> Selfrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device] {
23 Selfrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]::load_withrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]load_with().(
24 |name| memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/::transmuterust-analyzer cargo core https://github.com/rust-lang/rust/library/core intrinsics/transmute().((instance_fn.get_device_proc_addrrust-analyzer cargo ash 0.38.0+1.3.281 tables/InstanceFnV1_0#get_device_proc_addr.)(device, name.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/c_str/impl#[CStr]as_ptr().())),
25 device,
26 )
27 }
28
29 pub unsafe fn load_withrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]load_with().(
30 mut load_fn: impl FnMutrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/function/FnMut#(&ffirust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/::CStrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/c_str/CStr#) -> *const ffirust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/::c_voidrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/c_void#,
31 device: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Devicerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Device#,
32 ) -> Selfrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device] {
33 Selfrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]::from_parts_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]from_parts_1_3().(
34 device,
35 craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_0rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#::loadrust-analyzer cargo ash 0.38.0+1.3.281 tables/impl#[DeviceFnV1_0]load().(&mut load_fn),
36 craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_1rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#::loadrust-analyzer cargo ash 0.38.0+1.3.281 tables/impl#[DeviceFnV1_1]load().(&mut load_fn),
37 craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#::loadrust-analyzer cargo ash 0.38.0+1.3.281 tables/impl#[DeviceFnV1_2]load().(&mut load_fn),
38 craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_3rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#::loadrust-analyzer cargo ash 0.38.0+1.3.281 tables/impl#[DeviceFnV1_3]load().(&mut load_fn),
39 )
40 }
41
42 #[inline]
43 pub fn from_parts_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]from_parts_1_3().(
44 handle: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Devicerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Device#,
45 device_fn_1_0: craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_0rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#,
46 device_fn_1_1: craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_1rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#,
47 device_fn_1_2: craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#,
48 device_fn_1_3: craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_3rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#,
49 ) -> Selfrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device] {
50 Selfrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device] {
51 handlerust-analyzer cargo ash 0.38.0+1.3.281 device/Device#handle.,
52
53 device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0.,
54 device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1.,
55 device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2.,
56 device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3.,
57 }
58 }
59
60 #[inline]
61 pub fn handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(&self) -> vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Devicerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Device# {
62 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/Device#handle.
63 }
64 }
65
66 /// Vulkan core 1.3
67 impl Devicerust-analyzer cargo ash 0.38.0+1.3.281 device/Device# {
68 #[inline]
69 pub fn fp_v1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]fp_v1_3().(&self) -> &craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_3rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3# {
70 &self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3.
71 }
72
73 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreatePrivateDataSlot.html>
74 #[inline]
75 pub unsafe fn create_private_data_slotrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_private_data_slot().(
76 &self,
77 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PrivateDataSlotCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PrivateDataSlotCreateInfo#<'_>,
78 allocation_callbacks: 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#<'_>>,
79 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PrivateDataSlotrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PrivateDataSlot#> {
80 let mut private_data_slot = 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().();
81 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..create_private_data_slotrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#create_private_data_slot.)(
82 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/Device#handle.,
83 create_info,
84 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
85 private_data_slot.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
86 )
87 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(private_data_slot)
88 }
89
90 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyPrivateDataSlot.html>
91 #[inline]
92 pub unsafe fn destroy_private_data_slotrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_private_data_slot().(
93 &self,
94 private_data_slot: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PrivateDataSlotrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PrivateDataSlot#,
95 allocation_callbacks: 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#<'_>>,
96 ) {
97 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..destroy_private_data_slotrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#destroy_private_data_slot.)(
98 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/Device#handle.,
99 private_data_slot,
100 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
101 )
102 }
103
104 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkSetPrivateData.html>
105 #[inline]
106 pub unsafe fn set_private_datarust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]set_private_data().<T: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Handlerust-analyzer cargo ash 0.38.0+1.3.281 vk/Handle#>(
107 &self,
108 object: T,
109 private_data_slot: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PrivateDataSlotrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PrivateDataSlot#,
110 data: u64,
111 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
112 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..set_private_datarust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#set_private_data.)(
113 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/Device#handle.,
114 T::TYPErust-analyzer cargo ash 0.38.0+1.3.281 vk/Handle#TYPE.,
115 object.as_rawrust-analyzer cargo ash 0.38.0+1.3.281 vk/Handle#as_raw().(),
116 private_data_slot,
117 data,
118 )
119 .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
120 }
121
122 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetPrivateData.html>
123 #[inline]
124 pub unsafe fn get_private_datarust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_private_data().<T: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Handlerust-analyzer cargo ash 0.38.0+1.3.281 vk/Handle#>(
125 &self,
126 object: T,
127 private_data_slot: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PrivateDataSlotrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PrivateDataSlot#,
128 ) -> u64 {
129 let mut data = 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().();
130 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..get_private_datarust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#get_private_data.)(
131 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/Device#handle.,
132 T::TYPErust-analyzer cargo ash 0.38.0+1.3.281 vk/Handle#TYPE.,
133 object.as_rawrust-analyzer cargo ash 0.38.0+1.3.281 vk/Handle#as_raw().(),
134 private_data_slot,
135 data.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
136 );
137 data.assume_initrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]assume_init().()
138 }
139
140 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdPipelineBarrier2.html>
141 #[inline]
142 pub unsafe fn cmd_pipeline_barrier2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_pipeline_barrier2().(
143 &self,
144 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#,
145 dependency_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DependencyInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DependencyInfo#<'_>,
146 ) {
147 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_pipeline_barrier2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_pipeline_barrier2.)(command_buffer, dependency_info)
148 }
149
150 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdResetEvent2.html>
151 #[inline]
152 pub unsafe fn cmd_reset_event2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_reset_event2().(
153 &self,
154 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#,
155 event: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Eventrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Event#,
156 stage_mask: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineStageFlags2rust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/PipelineStageFlags2#,
157 ) {
158 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_reset_event2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_reset_event2.)(command_buffer, event, stage_mask)
159 }
160
161 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetEvent2.html>
162 #[inline]
163 pub unsafe fn cmd_set_event2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_event2().(
164 &self,
165 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#,
166 event: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Eventrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Event#,
167 dependency_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DependencyInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DependencyInfo#<'_>,
168 ) {
169 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_event2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_event2.)(command_buffer, event, dependency_info)
170 }
171
172 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdWaitEvents2.html>
173 #[inline]
174 pub unsafe fn cmd_wait_events2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_wait_events2().(
175 &self,
176 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#,
177 events: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Eventrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Event#],
178 dependency_infos: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DependencyInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DependencyInfo#<'_>],
179 ) {
180 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(events.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().(), dependency_infos.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().());
181 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_wait_events2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_wait_events2.)(
182 command_buffer,
183 events.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
184 events.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
185 dependency_infos.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
186 )
187 }
188
189 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdWriteTimestamp2.html>
190 #[inline]
191 pub unsafe fn cmd_write_timestamp2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_write_timestamp2().(
192 &self,
193 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#,
194 stage: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineStageFlags2rust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/PipelineStageFlags2#,
195 query_pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::QueryPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/QueryPool#,
196 query: u32,
197 ) {
198 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_write_timestamp2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_write_timestamp2.)(command_buffer, stage, query_pool, query)
199 }
200
201 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkQueueSubmit2.html>
202 #[inline]
203 pub unsafe fn queue_submit2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]queue_submit2().(
204 &self,
205 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#,
206 submits: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SubmitInfo2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SubmitInfo2#<'_>],
207 fence: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Fencerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Fence#,
208 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
209 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..queue_submit2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#queue_submit2.)(queue, submits.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32, submits.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(), fence)
210 .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
211 }
212
213 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdCopyBuffer2.html>
214 #[inline]
215 pub unsafe fn cmd_copy_buffer2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_copy_buffer2().(
216 &self,
217 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#,
218 copy_buffer_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CopyBufferInfo2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CopyBufferInfo2#<'_>,
219 ) {
220 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_copy_buffer2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_copy_buffer2.)(command_buffer, copy_buffer_info)
221 }
222 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdCopyImage2.html>
223 #[inline]
224 pub unsafe fn cmd_copy_image2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_copy_image2().(
225 &self,
226 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#,
227 copy_image_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CopyImageInfo2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CopyImageInfo2#<'_>,
228 ) {
229 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_copy_image2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_copy_image2.)(command_buffer, copy_image_info)
230 }
231 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdCopyBufferToImage2.html>
232 #[inline]
233 pub unsafe fn cmd_copy_buffer_to_image2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_copy_buffer_to_image2().(
234 &self,
235 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#,
236 copy_buffer_to_image_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CopyBufferToImageInfo2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CopyBufferToImageInfo2#<'_>,
237 ) {
238 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_copy_buffer_to_image2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_copy_buffer_to_image2.)(command_buffer, copy_buffer_to_image_info)
239 }
240 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdCopyImageToBuffer2.html>
241 #[inline]
242 pub unsafe fn cmd_copy_image_to_buffer2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_copy_image_to_buffer2().(
243 &self,
244 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#,
245 copy_image_to_buffer_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CopyImageToBufferInfo2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CopyImageToBufferInfo2#<'_>,
246 ) {
247 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_copy_image_to_buffer2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_copy_image_to_buffer2.)(command_buffer, copy_image_to_buffer_info)
248 }
249 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdBlitImage2.html>
250 #[inline]
251 pub unsafe fn cmd_blit_image2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_blit_image2().(
252 &self,
253 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#,
254 blit_image_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BlitImageInfo2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BlitImageInfo2#<'_>,
255 ) {
256 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_blit_image2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_blit_image2.)(command_buffer, blit_image_info)
257 }
258 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdResolveImage2.html>
259 #[inline]
260 pub unsafe fn cmd_resolve_image2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_resolve_image2().(
261 &self,
262 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#,
263 resolve_image_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ResolveImageInfo2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ResolveImageInfo2#<'_>,
264 ) {
265 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_resolve_image2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_resolve_image2.)(command_buffer, resolve_image_info)
266 }
267
268 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdBeginRendering.html>
269 #[inline]
270 pub unsafe fn cmd_begin_renderingrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_begin_rendering().(
271 &self,
272 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#,
273 rendering_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::RenderingInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/RenderingInfo#<'_>,
274 ) {
275 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_begin_renderingrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_begin_rendering.)(command_buffer, rendering_info)
276 }
277
278 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdEndRendering.html>
279 #[inline]
280 pub unsafe fn cmd_end_renderingrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_end_rendering().(&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#) {
281 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_end_renderingrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_end_rendering.)(command_buffer)
282 }
283
284 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetCullMode.html>
285 #[inline]
286 pub unsafe fn cmd_set_cull_moderust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_cull_mode().(
287 &self,
288 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#,
289 cull_mode: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CullModeFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/CullModeFlags#,
290 ) {
291 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_cull_moderust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_cull_mode.)(command_buffer, cull_mode)
292 }
293
294 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetFrontFace.html>
295 #[inline]
296 pub unsafe fn cmd_set_front_facerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_front_face().(
297 &self,
298 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#,
299 front_face: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::FrontFacerust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/FrontFace#,
300 ) {
301 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_front_facerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_front_face.)(command_buffer, front_face)
302 }
303
304 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetPrimitiveTopology.html>
305 #[inline]
306 pub unsafe fn cmd_set_primitive_topologyrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_primitive_topology().(
307 &self,
308 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#,
309 primitive_topology: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PrimitiveTopologyrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/PrimitiveTopology#,
310 ) {
311 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_primitive_topologyrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_primitive_topology.)(command_buffer, primitive_topology)
312 }
313
314 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetViewportWithCount.html>
315 #[inline]
316 pub unsafe fn cmd_set_viewport_with_countrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_viewport_with_count().(
317 &self,
318 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#,
319 viewports: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Viewportrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Viewport#],
320 ) {
321 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_viewport_with_countrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_viewport_with_count.)(
322 command_buffer,
323 viewports.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
324 viewports.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
325 )
326 }
327
328 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetScissorWithCount.html>
329 #[inline]
330 pub unsafe fn cmd_set_scissor_with_countrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_scissor_with_count().(
331 &self,
332 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#,
333 scissors: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Rect2Drust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Rect2D#],
334 ) {
335 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_scissor_with_countrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_scissor_with_count.)(
336 command_buffer,
337 scissors.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
338 scissors.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
339 )
340 }
341
342 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdBindVertexBuffers2.html>
343 #[inline]
344 pub unsafe fn cmd_bind_vertex_buffers2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_bind_vertex_buffers2().(
345 &self,
346 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#,
347 first_binding: u32,
348 buffers: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#],
349 offsets: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#],
350 sizes: 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/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#]>,
351 strides: 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/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#]>,
352 ) {
353 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(offsets.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().(), buffers.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().());
354 let p_sizes = if let Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(sizes) = sizes {
355 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(sizes.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().(), buffers.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().());
356 sizes.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().()
357 } else {
358 ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/::nullrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/null().()
359 };
360 let p_strides = if let Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(strides) = strides {
361 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(strides.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().(), buffers.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().());
362 strides.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().()
363 } else {
364 ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/::nullrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/null().()
365 };
366 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_bind_vertex_buffers2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_bind_vertex_buffers2.)(
367 command_buffer,
368 first_binding,
369 buffers.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
370 buffers.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
371 offsets.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
372 p_sizes,
373 p_strides,
374 )
375 }
376
377 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetDepthTestEnable.html>
378 #[inline]
379 pub unsafe fn cmd_set_depth_test_enablerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_depth_test_enable().(
380 &self,
381 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#,
382 depth_test_enable: bool,
383 ) {
384 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_depth_test_enablerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_depth_test_enable.)(command_buffer, depth_test_enable.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().())
385 }
386
387 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetDepthWriteEnable.html>
388 #[inline]
389 pub unsafe fn cmd_set_depth_write_enablerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_depth_write_enable().(
390 &self,
391 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#,
392 depth_write_enable: bool,
393 ) {
394 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_depth_write_enablerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_depth_write_enable.)(command_buffer, depth_write_enable.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().())
395 }
396
397 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetDepthCompareOp.html>
398 #[inline]
399 pub unsafe fn cmd_set_depth_compare_oprust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_depth_compare_op().(
400 &self,
401 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#,
402 depth_compare_op: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CompareOprust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/CompareOp#,
403 ) {
404 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_depth_compare_oprust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_depth_compare_op.)(command_buffer, depth_compare_op)
405 }
406
407 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetDepthBoundsTestEnable.html>
408 #[inline]
409 pub unsafe fn cmd_set_depth_bounds_test_enablerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_depth_bounds_test_enable().(
410 &self,
411 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#,
412 depth_bounds_test_enable: bool,
413 ) {
414 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_depth_bounds_test_enablerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_depth_bounds_test_enable.)(
415 command_buffer,
416 depth_bounds_test_enable.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
417 )
418 }
419
420 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetStencilTestEnable.html>
421 #[inline]
422 pub unsafe fn cmd_set_stencil_test_enablerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_stencil_test_enable().(
423 &self,
424 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#,
425 stencil_test_enable: bool,
426 ) {
427 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_stencil_test_enablerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_stencil_test_enable.)(command_buffer, stencil_test_enable.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().())
428 }
429
430 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetStencilOp.html>
431 #[inline]
432 pub unsafe fn cmd_set_stencil_oprust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_stencil_op().(
433 &self,
434 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#,
435 face_mask: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::StencilFaceFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/StencilFaceFlags#,
436 fail_op: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::StencilOprust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/StencilOp#,
437 pass_op: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::StencilOprust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/StencilOp#,
438 depth_fail_op: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::StencilOprust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/StencilOp#,
439 compare_op: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CompareOprust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/CompareOp#,
440 ) {
441 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_stencil_oprust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_stencil_op.)(
442 command_buffer,
443 face_mask,
444 fail_op,
445 pass_op,
446 depth_fail_op,
447 compare_op,
448 )
449 }
450
451 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetRasterizerDiscardEnable.html>
452 #[inline]
453 pub unsafe fn cmd_set_rasterizer_discard_enablerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_rasterizer_discard_enable().(
454 &self,
455 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#,
456 rasterizer_discard_enable: bool,
457 ) {
458 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_rasterizer_discard_enablerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_rasterizer_discard_enable.)(
459 command_buffer,
460 rasterizer_discard_enable.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
461 )
462 }
463
464 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetDepthBiasEnable.html>
465 #[inline]
466 pub unsafe fn cmd_set_depth_bias_enablerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_depth_bias_enable().(
467 &self,
468 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#,
469 depth_bias_enable: bool,
470 ) {
471 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_depth_bias_enablerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_depth_bias_enable.)(command_buffer, depth_bias_enable.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().())
472 }
473
474 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetPrimitiveRestartEnable.html>
475 #[inline]
476 pub unsafe fn cmd_set_primitive_restart_enablerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_primitive_restart_enable().(
477 &self,
478 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#,
479 primitive_restart_enable: bool,
480 ) {
481 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..cmd_set_primitive_restart_enablerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#cmd_set_primitive_restart_enable.)(
482 command_buffer,
483 primitive_restart_enable.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().(),
484 )
485 }
486
487 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeviceBufferMemoryRequirements.html>
488 #[inline]
489 pub unsafe fn get_device_buffer_memory_requirementsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_device_buffer_memory_requirements().(
490 &self,
491 memory_requirements: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceBufferMemoryRequirementsrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceBufferMemoryRequirements#<'_>,
492 out: &mut vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::MemoryRequirements2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/MemoryRequirements2#<'_>,
493 ) {
494 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..get_device_buffer_memory_requirementsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#get_device_buffer_memory_requirements.)(
495 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/Device#handle.,
496 memory_requirements,
497 out,
498 )
499 }
500
501 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeviceImageMemoryRequirements.html>
502 #[inline]
503 pub unsafe fn get_device_image_memory_requirementsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_device_image_memory_requirements().(
504 &self,
505 memory_requirements: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceImageMemoryRequirementsrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceImageMemoryRequirements#<'_>,
506 out: &mut vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::MemoryRequirements2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/MemoryRequirements2#<'_>,
507 ) {
508 (self.device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3..get_device_image_memory_requirementsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#get_device_image_memory_requirements.)(
509 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/Device#handle.,
510 memory_requirements,
511 out,
512 )
513 }
514
515 /// Retrieve the number of elements to pass to [`get_device_image_sparse_memory_requirements()`][Self::get_device_image_sparse_memory_requirements()]
516 #[inline]
517 pub unsafe fn get_device_image_sparse_memory_requirements_lenrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_device_image_sparse_memory_requirements_len().(
518 &self,
519 memory_requirements: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceImageMemoryRequirementsrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceImageMemoryRequirements#<'_>,
520 ) -> usize {
521 let mut count = 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().();
522 (self
523 .device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3.
524 .get_device_image_sparse_memory_requirementsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#get_device_image_sparse_memory_requirements.)(
525 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/Device#handle.,
526 memory_requirements,
527 count.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
528 ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/::null_mutrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/null_mut().(),
529 );
530 count.assume_initrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]assume_init().() as usize
531 }
532
533 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeviceImageSparseMemoryRequirements.html>
534 ///
535 /// Call [`get_device_image_sparse_memory_requirements_len()`][Self::get_device_image_sparse_memory_requirements_len()] to query the number of elements to pass to `out`.
536 /// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer.
537 #[inline]
538 pub unsafe fn get_device_image_sparse_memory_requirementsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_device_image_sparse_memory_requirements().(
539 &self,
540 memory_requirements: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceImageMemoryRequirementsrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceImageMemoryRequirements#<'_>,
541 out: &mut [vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SparseImageMemoryRequirements2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SparseImageMemoryRequirements2#<'_>],
542 ) {
543 let mut count = out.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32;
544 (self
545 .device_fn_1_3rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_3.
546 .get_device_image_sparse_memory_requirementsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_3#get_device_image_sparse_memory_requirements.)(
547 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/Device#handle.,
548 memory_requirements,
549 &mut count,
550 out.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_mut_ptr().(),
551 );
552 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(count as usize, out.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().());
553 }
554 }
555
556 /// Vulkan core 1.2
557 impl Devicerust-analyzer cargo ash 0.38.0+1.3.281 device/Device# {
558 #[inline]
559 pub fn fp_v1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]fp_v1_2().(&self) -> &craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2# {
560 &self.device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2.
561 }
562
563 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdDrawIndirectCount.html>
564 #[inline]
565 pub unsafe fn cmd_draw_indirect_countrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_draw_indirect_count().(
566 &self,
567 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#,
568 buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
569 offset: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
570 count_buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
571 count_buffer_offset: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
572 max_draw_count: u32,
573 stride: u32,
574 ) {
575 (self.device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2..cmd_draw_indirect_countrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#cmd_draw_indirect_count.)(
576 command_buffer,
577 buffer,
578 offset,
579 count_buffer,
580 count_buffer_offset,
581 max_draw_count,
582 stride,
583 );
584 }
585
586 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdDrawIndexedIndirectCount.html>
587 #[inline]
588 pub unsafe fn cmd_draw_indexed_indirect_countrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_draw_indexed_indirect_count().(
589 &self,
590 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#,
591 buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
592 offset: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
593 count_buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
594 count_buffer_offset: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
595 max_draw_count: u32,
596 stride: u32,
597 ) {
598 (self.device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2..cmd_draw_indexed_indirect_countrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#cmd_draw_indexed_indirect_count.)(
599 command_buffer,
600 buffer,
601 offset,
602 count_buffer,
603 count_buffer_offset,
604 max_draw_count,
605 stride,
606 );
607 }
608
609 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateRenderPass2.html>
610 #[inline]
611 pub unsafe fn create_render_pass2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_render_pass2().(
612 &self,
613 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::RenderPassCreateInfo2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/RenderPassCreateInfo2#<'_>,
614 allocation_callbacks: 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#<'_>>,
615 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::RenderPassrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/RenderPass#> {
616 let mut renderpass = 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().();
617 (self.device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2..create_render_pass2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#create_render_pass2.)(
618 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
619 create_info,
620 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
621 renderpass.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
622 )
623 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(renderpass)
624 }
625
626 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdBeginRenderPass2.html>
627 #[inline]
628 pub unsafe fn cmd_begin_render_pass2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_begin_render_pass2().(
629 &self,
630 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#,
631 render_pass_begin_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::RenderPassBeginInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/RenderPassBeginInfo#<'_>,
632 subpass_begin_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SubpassBeginInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SubpassBeginInfo#<'_>,
633 ) {
634 (self.device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2..cmd_begin_render_pass2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#cmd_begin_render_pass2.)(
635 command_buffer,
636 render_pass_begin_info,
637 subpass_begin_info,
638 );
639 }
640
641 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdNextSubpass2.html>
642 #[inline]
643 pub unsafe fn cmd_next_subpass2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_next_subpass2().(
644 &self,
645 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#,
646 subpass_begin_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SubpassBeginInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SubpassBeginInfo#<'_>,
647 subpass_end_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SubpassEndInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SubpassEndInfo#<'_>,
648 ) {
649 (self.device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2..cmd_next_subpass2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#cmd_next_subpass2.)(
650 command_buffer,
651 subpass_begin_info,
652 subpass_end_info,
653 );
654 }
655
656 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdEndRenderPass2.html>
657 #[inline]
658 pub unsafe fn cmd_end_render_pass2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_end_render_pass2().(
659 &self,
660 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#,
661 subpass_end_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SubpassEndInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SubpassEndInfo#<'_>,
662 ) {
663 (self.device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2..cmd_end_render_pass2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#cmd_end_render_pass2.)(command_buffer, subpass_end_info);
664 }
665
666 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkResetQueryPool.html>
667 #[inline]
668 pub unsafe fn reset_query_poolrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]reset_query_pool().(
669 &self,
670 query_pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::QueryPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/QueryPool#,
671 first_query: u32,
672 query_count: u32,
673 ) {
674 (self.device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2..reset_query_poolrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#reset_query_pool.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), query_pool, first_query, query_count);
675 }
676
677 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetSemaphoreCounterValue.html>
678 #[inline]
679 pub unsafe fn get_semaphore_counter_valuerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_semaphore_counter_value().(&self, semaphore: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Semaphorerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Semaphore#) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<u64> {
680 let mut value = 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().();
681 (self.device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2..get_semaphore_counter_valuerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#get_semaphore_counter_value.)(
682 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
683 semaphore,
684 value.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
685 )
686 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(value)
687 }
688
689 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkWaitSemaphores.html>
690 #[inline]
691 pub unsafe fn wait_semaphoresrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]wait_semaphores().(
692 &self,
693 wait_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SemaphoreWaitInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SemaphoreWaitInfo#<'_>,
694 timeout: u64,
695 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
696 (self.device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2..wait_semaphoresrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#wait_semaphores.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), wait_info, timeout).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
697 }
698
699 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkSignalSemaphore.html>
700 #[inline]
701 pub unsafe fn signal_semaphorerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]signal_semaphore().(
702 &self,
703 signal_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SemaphoreSignalInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SemaphoreSignalInfo#<'_>,
704 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
705 (self.device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2..signal_semaphorerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#signal_semaphore.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), signal_info).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
706 }
707
708 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetBufferDeviceAddress.html>
709 #[inline]
710 pub unsafe fn get_buffer_device_addressrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_buffer_device_address().(
711 &self,
712 info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BufferDeviceAddressInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BufferDeviceAddressInfo#<'_>,
713 ) -> vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceAddressrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceAddress# {
714 (self.device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2..get_buffer_device_addressrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#get_buffer_device_address.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), info)
715 }
716
717 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetBufferOpaqueCaptureAddress.html>
718 #[inline]
719 pub unsafe fn get_buffer_opaque_capture_addressrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_buffer_opaque_capture_address().(
720 &self,
721 info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BufferDeviceAddressInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BufferDeviceAddressInfo#<'_>,
722 ) -> u64 {
723 (self.device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2..get_buffer_opaque_capture_addressrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#get_buffer_opaque_capture_address.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), info)
724 }
725
726 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeviceMemoryOpaqueCaptureAddress.html>
727 #[inline]
728 pub unsafe fn get_device_memory_opaque_capture_addressrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_device_memory_opaque_capture_address().(
729 &self,
730 info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceMemoryOpaqueCaptureAddressInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceMemoryOpaqueCaptureAddressInfo#<'_>,
731 ) -> u64 {
732 (self.device_fn_1_2rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_2..get_device_memory_opaque_capture_addressrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_2#get_device_memory_opaque_capture_address.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), info)
733 }
734 }
735
736 /// Vulkan core 1.1
737 impl Devicerust-analyzer cargo ash 0.38.0+1.3.281 device/Device# {
738 #[inline]
739 pub fn fp_v1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]fp_v1_1().(&self) -> &craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_1rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1# {
740 &self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1.
741 }
742
743 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkBindBufferMemory2.html>
744 #[inline]
745 pub unsafe fn bind_buffer_memory2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]bind_buffer_memory2().(
746 &self,
747 bind_infos: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BindBufferMemoryInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BindBufferMemoryInfo#<'_>],
748 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
749 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..bind_buffer_memory2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#bind_buffer_memory2.)(
750 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
751 bind_infos.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as _,
752 bind_infos.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
753 )
754 .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
755 }
756
757 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkBindImageMemory2.html>
758 #[inline]
759 pub unsafe fn bind_image_memory2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]bind_image_memory2().(
760 &self,
761 bind_infos: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BindImageMemoryInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BindImageMemoryInfo#<'_>],
762 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
763 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..bind_image_memory2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#bind_image_memory2.)(
764 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
765 bind_infos.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as _,
766 bind_infos.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
767 )
768 .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
769 }
770
771 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeviceGroupPeerMemoryFeatures.html>
772 #[inline]
773 pub unsafe fn get_device_group_peer_memory_featuresrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_device_group_peer_memory_features().(
774 &self,
775 heap_index: u32,
776 local_device_index: u32,
777 remote_device_index: u32,
778 ) -> vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PeerMemoryFeatureFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/PeerMemoryFeatureFlags# {
779 let mut peer_memory_features = 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().();
780 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..get_device_group_peer_memory_featuresrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#get_device_group_peer_memory_features.)(
781 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
782 heap_index,
783 local_device_index,
784 remote_device_index,
785 peer_memory_features.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
786 );
787 peer_memory_features.assume_initrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]assume_init().()
788 }
789
790 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetDeviceMask.html>
791 #[inline]
792 pub unsafe fn cmd_set_device_maskrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_device_mask().(&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#, device_mask: u32) {
793 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..cmd_set_device_maskrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#cmd_set_device_mask.)(command_buffer, device_mask);
794 }
795
796 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdDispatchBase.html>
797 #[inline]
798 pub unsafe fn cmd_dispatch_baserust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_dispatch_base().(
799 &self,
800 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#,
801 base_group_x: u32,
802 base_group_y: u32,
803 base_group_z: u32,
804 group_count_x: u32,
805 group_count_y: u32,
806 group_count_z: u32,
807 ) {
808 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..cmd_dispatch_baserust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#cmd_dispatch_base.)(
809 command_buffer,
810 base_group_x,
811 base_group_y,
812 base_group_z,
813 group_count_x,
814 group_count_y,
815 group_count_z,
816 );
817 }
818
819 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetImageMemoryRequirements2.html>
820 #[inline]
821 pub unsafe fn get_image_memory_requirements2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_image_memory_requirements2().(
822 &self,
823 info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageMemoryRequirementsInfo2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageMemoryRequirementsInfo2#<'_>,
824 out: &mut vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::MemoryRequirements2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/MemoryRequirements2#<'_>,
825 ) {
826 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..get_image_memory_requirements2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#get_image_memory_requirements2.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), info, out);
827 }
828
829 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetBufferMemoryRequirements2.html>
830 #[inline]
831 pub unsafe fn get_buffer_memory_requirements2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_buffer_memory_requirements2().(
832 &self,
833 info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BufferMemoryRequirementsInfo2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BufferMemoryRequirementsInfo2#<'_>,
834 out: &mut vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::MemoryRequirements2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/MemoryRequirements2#<'_>,
835 ) {
836 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..get_buffer_memory_requirements2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#get_buffer_memory_requirements2.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), info, out);
837 }
838
839 /// Retrieve the number of elements to pass to [`get_image_sparse_memory_requirements2()`][Self::get_image_sparse_memory_requirements2()]
840 #[inline]
841 pub unsafe fn get_image_sparse_memory_requirements2_lenrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_image_sparse_memory_requirements2_len().(
842 &self,
843 info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageSparseMemoryRequirementsInfo2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageSparseMemoryRequirementsInfo2#<'_>,
844 ) -> usize {
845 let mut count = 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().();
846 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..get_image_sparse_memory_requirements2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#get_image_sparse_memory_requirements2.)(
847 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
848 info,
849 count.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
850 ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/::null_mutrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/null_mut().(),
851 );
852 count.assume_initrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]assume_init().() as usize
853 }
854
855 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetImageSparseMemoryRequirements2.html>
856 ///
857 /// Call [`get_image_sparse_memory_requirements2_len()`][Self::get_image_sparse_memory_requirements2_len()] to query the number of elements to pass to `out`.
858 /// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer.
859 #[inline]
860 pub unsafe fn get_image_sparse_memory_requirements2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_image_sparse_memory_requirements2().(
861 &self,
862 info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageSparseMemoryRequirementsInfo2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageSparseMemoryRequirementsInfo2#<'_>,
863 out: &mut [vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SparseImageMemoryRequirements2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SparseImageMemoryRequirements2#<'_>],
864 ) {
865 let mut count = out.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32;
866 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..get_image_sparse_memory_requirements2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#get_image_sparse_memory_requirements2.)(
867 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
868 info,
869 &mut count,
870 out.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_mut_ptr().(),
871 );
872 assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/assert_eq!!(count as usize, out.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().());
873 }
874
875 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkTrimCommandPool.html>
876 #[inline]
877 pub unsafe fn trim_command_poolrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]trim_command_pool().(
878 &self,
879 command_pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandPool#,
880 flags: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandPoolTrimFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandPoolTrimFlags#,
881 ) {
882 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..trim_command_poolrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#trim_command_pool.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), command_pool, flags);
883 }
884
885 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeviceQueue2.html>
886 #[inline]
887 pub unsafe fn get_device_queue2rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_device_queue2().(&self, queue_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceQueueInfo2rust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceQueueInfo2#<'_>) -> vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Queuerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Queue# {
888 let mut queue = 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().();
889 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..get_device_queue2rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#get_device_queue2.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), queue_info, queue.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().());
890 queue.assume_initrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]assume_init().()
891 }
892
893 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateSamplerYcbcrConversion.html>
894 #[inline]
895 pub unsafe fn create_sampler_ycbcr_conversionrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_sampler_ycbcr_conversion().(
896 &self,
897 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SamplerYcbcrConversionCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SamplerYcbcrConversionCreateInfo#<'_>,
898 allocation_callbacks: 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#<'_>>,
899 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SamplerYcbcrConversionrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SamplerYcbcrConversion#> {
900 let mut ycbcr_conversion = 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().();
901 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..create_sampler_ycbcr_conversionrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#create_sampler_ycbcr_conversion.)(
902 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
903 create_info,
904 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
905 ycbcr_conversion.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
906 )
907 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(ycbcr_conversion)
908 }
909
910 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroySamplerYcbcrConversion.html>
911 #[inline]
912 pub unsafe fn destroy_sampler_ycbcr_conversionrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_sampler_ycbcr_conversion().(
913 &self,
914 ycbcr_conversion: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SamplerYcbcrConversionrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SamplerYcbcrConversion#,
915 allocation_callbacks: 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#<'_>>,
916 ) {
917 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..destroy_sampler_ycbcr_conversionrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#destroy_sampler_ycbcr_conversion.)(
918 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
919 ycbcr_conversion,
920 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
921 );
922 }
923
924 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateDescriptorUpdateTemplate.html>
925 #[inline]
926 pub unsafe fn create_descriptor_update_templaterust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_descriptor_update_template().(
927 &self,
928 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorUpdateTemplateCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorUpdateTemplateCreateInfo#<'_>,
929 allocation_callbacks: 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#<'_>>,
930 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorUpdateTemplaterust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorUpdateTemplate#> {
931 let mut descriptor_update_template = 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().();
932 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..create_descriptor_update_templaterust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#create_descriptor_update_template.)(
933 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
934 create_info,
935 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
936 descriptor_update_template.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
937 )
938 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(descriptor_update_template)
939 }
940
941 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyDescriptorUpdateTemplate.html>
942 #[inline]
943 pub unsafe fn destroy_descriptor_update_templaterust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_descriptor_update_template().(
944 &self,
945 descriptor_update_template: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorUpdateTemplaterust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorUpdateTemplate#,
946 allocation_callbacks: 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#<'_>>,
947 ) {
948 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..destroy_descriptor_update_templaterust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#destroy_descriptor_update_template.)(
949 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
950 descriptor_update_template,
951 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
952 );
953 }
954
955 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkUpdateDescriptorSetWithTemplate.html>
956 #[inline]
957 pub unsafe fn update_descriptor_set_with_templaterust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]update_descriptor_set_with_template().(
958 &self,
959 descriptor_set: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorSetrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorSet#,
960 descriptor_update_template: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorUpdateTemplaterust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorUpdateTemplate#,
961 data: *const ffirust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/::c_voidrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/c_void#,
962 ) {
963 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..update_descriptor_set_with_templaterust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#update_descriptor_set_with_template.)(
964 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
965 descriptor_set,
966 descriptor_update_template,
967 data,
968 );
969 }
970
971 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDescriptorSetLayoutSupport.html>
972 #[inline]
973 pub unsafe fn get_descriptor_set_layout_supportrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_descriptor_set_layout_support().(
974 &self,
975 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorSetLayoutCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorSetLayoutCreateInfo#<'_>,
976 out: &mut vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorSetLayoutSupportrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorSetLayoutSupport#<'_>,
977 ) {
978 (self.device_fn_1_1rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_1..get_descriptor_set_layout_supportrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_1#get_descriptor_set_layout_support.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), create_info, out);
979 }
980 }
981
982 /// Vulkan core 1.0
983 impl Devicerust-analyzer cargo ash 0.38.0+1.3.281 device/Device# {
984 #[inline]
985 pub fn fp_v1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]fp_v1_0().(&self) -> &craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::DeviceFnV1_0rust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0# {
986 &self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0.
987 }
988
989 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyDevice.html>
990 #[inline]
991 pub unsafe fn destroy_devicerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_device().(
992 &self,
993 allocation_callbacks: 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#<'_>>,
994 ) {
995 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_devicerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_device.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().());
996 }
997
998 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroySampler.html>
999 #[inline]
1000 pub unsafe fn destroy_samplerrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_sampler().(
1001 &self,
1002 sampler: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Samplerrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Sampler#,
1003 allocation_callbacks: 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#<'_>>,
1004 ) {
1005 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_samplerrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_sampler.)(
1006 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1007 sampler,
1008 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1009 );
1010 }
1011
1012 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkFreeMemory.html>
1013 #[inline]
1014 pub unsafe fn free_memoryrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]free_memory().(
1015 &self,
1016 memory: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceMemoryrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceMemory#,
1017 allocation_callbacks: 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#<'_>>,
1018 ) {
1019 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..free_memoryrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#free_memory.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), memory, allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().());
1020 }
1021
1022 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkFreeCommandBuffers.html>
1023 #[inline]
1024 pub unsafe fn free_command_buffersrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]free_command_buffers().(
1025 &self,
1026 command_pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandPool#,
1027 command_buffers: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandBufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandBuffer#],
1028 ) {
1029 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..free_command_buffersrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#free_command_buffers.)(
1030 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1031 command_pool,
1032 command_buffers.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1033 command_buffers.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1034 );
1035 }
1036
1037 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateEvent.html>
1038 #[inline]
1039 pub unsafe fn create_eventrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_event().(
1040 &self,
1041 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::EventCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/EventCreateInfo#<'_>,
1042 allocation_callbacks: 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#<'_>>,
1043 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Eventrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Event#> {
1044 let mut event = 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().();
1045 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_eventrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_event.)(
1046 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1047 create_info,
1048 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1049 event.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
1050 )
1051 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(event)
1052 }
1053
1054 /// Returns [`true`] if the event was set, and [`false`] if the event was reset, otherwise it will
1055 /// return the error code.
1056 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetEventStatus.html>
1057 #[inline]
1058 pub unsafe fn get_event_statusrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_event_status().(&self, event: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Eventrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Event#) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<bool> {
1059 let err_code = (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..get_event_statusrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#get_event_status.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), event);
1060 match err_code {
1061 vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Resultrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/Result#::EVENT_SETrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/impl#[Result]EVENT_SET. => Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(true),
1062 vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Resultrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/Result#::EVENT_RESETrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/impl#[Result]EVENT_RESET. => Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(false),
1063 _ => Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#(err_code),
1064 }
1065 }
1066
1067 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkSetEvent.html>
1068 #[inline]
1069 pub unsafe fn set_eventrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]set_event().(&self, event: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Eventrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Event#) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
1070 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..set_eventrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#set_event.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), event).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
1071 }
1072
1073 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkResetEvent.html>
1074 #[inline]
1075 pub unsafe fn reset_eventrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]reset_event().(&self, event: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Eventrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Event#) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
1076 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..reset_eventrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#reset_event.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), event).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
1077 }
1078 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetEvent.html>
1079 #[inline]
1080 pub unsafe fn cmd_set_eventrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_event().(
1081 &self,
1082 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#,
1083 event: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Eventrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Event#,
1084 stage_mask: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineStageFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/PipelineStageFlags#,
1085 ) {
1086 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_set_eventrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_set_event.)(command_buffer, event, stage_mask);
1087 }
1088 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdResetEvent.html>
1089 #[inline]
1090 pub unsafe fn cmd_reset_eventrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_reset_event().(
1091 &self,
1092 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#,
1093 event: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Eventrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Event#,
1094 stage_mask: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineStageFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/PipelineStageFlags#,
1095 ) {
1096 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_reset_eventrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_reset_event.)(command_buffer, event, stage_mask);
1097 }
1098
1099 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdWaitEvents.html>
1100 #[inline]
1101 pub unsafe fn cmd_wait_eventsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_wait_events().(
1102 &self,
1103 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#,
1104 events: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Eventrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Event#],
1105 src_stage_mask: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineStageFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/PipelineStageFlags#,
1106 dst_stage_mask: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineStageFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/PipelineStageFlags#,
1107 memory_barriers: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::MemoryBarrierrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/MemoryBarrier#<'_>],
1108 buffer_memory_barriers: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BufferMemoryBarrierrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BufferMemoryBarrier#<'_>],
1109 image_memory_barriers: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageMemoryBarrierrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageMemoryBarrier#<'_>],
1110 ) {
1111 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_wait_eventsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_wait_events.)(
1112 command_buffer,
1113 events.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as _,
1114 events.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1115 src_stage_mask,
1116 dst_stage_mask,
1117 memory_barriers.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as _,
1118 memory_barriers.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1119 buffer_memory_barriers.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as _,
1120 buffer_memory_barriers.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1121 image_memory_barriers.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as _,
1122 image_memory_barriers.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1123 );
1124 }
1125
1126 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyFence.html>
1127 #[inline]
1128 pub unsafe fn destroy_fencerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_fence().(
1129 &self,
1130 fence: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Fencerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Fence#,
1131 allocation_callbacks: 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#<'_>>,
1132 ) {
1133 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_fencerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_fence.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), fence, allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().());
1134 }
1135
1136 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyEvent.html>
1137 #[inline]
1138 pub unsafe fn destroy_eventrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_event().(
1139 &self,
1140 event: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Eventrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Event#,
1141 allocation_callbacks: 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#<'_>>,
1142 ) {
1143 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_eventrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_event.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), event, allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().());
1144 }
1145
1146 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyImage.html>
1147 #[inline]
1148 pub unsafe fn destroy_imagerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_image().(
1149 &self,
1150 image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#,
1151 allocation_callbacks: 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#<'_>>,
1152 ) {
1153 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_imagerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_image.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), image, allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().());
1154 }
1155
1156 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyCommandPool.html>
1157 #[inline]
1158 pub unsafe fn destroy_command_poolrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_command_pool().(
1159 &self,
1160 pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandPool#,
1161 allocation_callbacks: 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#<'_>>,
1162 ) {
1163 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_command_poolrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_command_pool.)(
1164 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1165 pool,
1166 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1167 );
1168 }
1169
1170 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyImageView.html>
1171 #[inline]
1172 pub unsafe fn destroy_image_viewrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_image_view().(
1173 &self,
1174 image_view: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageViewrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageView#,
1175 allocation_callbacks: 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#<'_>>,
1176 ) {
1177 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_image_viewrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_image_view.)(
1178 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1179 image_view,
1180 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1181 );
1182 }
1183
1184 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyRenderPass.html>
1185 #[inline]
1186 pub unsafe fn destroy_render_passrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_render_pass().(
1187 &self,
1188 renderpass: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::RenderPassrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/RenderPass#,
1189 allocation_callbacks: 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#<'_>>,
1190 ) {
1191 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_render_passrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_render_pass.)(
1192 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1193 renderpass,
1194 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1195 );
1196 }
1197
1198 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyFramebuffer.html>
1199 #[inline]
1200 pub unsafe fn destroy_framebufferrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_framebuffer().(
1201 &self,
1202 framebuffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Framebufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Framebuffer#,
1203 allocation_callbacks: 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#<'_>>,
1204 ) {
1205 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_framebufferrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_framebuffer.)(
1206 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1207 framebuffer,
1208 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1209 );
1210 }
1211
1212 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyPipelineLayout.html>
1213 #[inline]
1214 pub unsafe fn destroy_pipeline_layoutrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_pipeline_layout().(
1215 &self,
1216 pipeline_layout: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PipelineLayout#,
1217 allocation_callbacks: 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#<'_>>,
1218 ) {
1219 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_pipeline_layoutrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_pipeline_layout.)(
1220 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1221 pipeline_layout,
1222 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1223 );
1224 }
1225
1226 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyPipelineCache.html>
1227 #[inline]
1228 pub unsafe fn destroy_pipeline_cacherust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_pipeline_cache().(
1229 &self,
1230 pipeline_cache: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineCacherust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PipelineCache#,
1231 allocation_callbacks: 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#<'_>>,
1232 ) {
1233 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_pipeline_cacherust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_pipeline_cache.)(
1234 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1235 pipeline_cache,
1236 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1237 );
1238 }
1239
1240 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyBuffer.html>
1241 #[inline]
1242 pub unsafe fn destroy_bufferrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_buffer().(
1243 &self,
1244 buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
1245 allocation_callbacks: 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#<'_>>,
1246 ) {
1247 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_bufferrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_buffer.)(
1248 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1249 buffer,
1250 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1251 );
1252 }
1253
1254 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyShaderModule.html>
1255 #[inline]
1256 pub unsafe fn destroy_shader_modulerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_shader_module().(
1257 &self,
1258 shader: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ShaderModulerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ShaderModule#,
1259 allocation_callbacks: 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#<'_>>,
1260 ) {
1261 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_shader_modulerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_shader_module.)(
1262 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1263 shader,
1264 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1265 );
1266 }
1267
1268 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyPipeline.html>
1269 #[inline]
1270 pub unsafe fn destroy_pipelinerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_pipeline().(
1271 &self,
1272 pipeline: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Pipelinerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Pipeline#,
1273 allocation_callbacks: 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#<'_>>,
1274 ) {
1275 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_pipelinerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_pipeline.)(
1276 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1277 pipeline,
1278 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1279 );
1280 }
1281
1282 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroySemaphore.html>
1283 #[inline]
1284 pub unsafe fn destroy_semaphorerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_semaphore().(
1285 &self,
1286 semaphore: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Semaphorerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Semaphore#,
1287 allocation_callbacks: 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#<'_>>,
1288 ) {
1289 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_semaphorerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_semaphore.)(
1290 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1291 semaphore,
1292 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1293 );
1294 }
1295
1296 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyDescriptorPool.html>
1297 #[inline]
1298 pub unsafe fn destroy_descriptor_poolrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_descriptor_pool().(
1299 &self,
1300 pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorPool#,
1301 allocation_callbacks: 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#<'_>>,
1302 ) {
1303 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_descriptor_poolrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_descriptor_pool.)(
1304 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1305 pool,
1306 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1307 );
1308 }
1309
1310 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyQueryPool.html>
1311 #[inline]
1312 pub unsafe fn destroy_query_poolrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_query_pool().(
1313 &self,
1314 pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::QueryPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/QueryPool#,
1315 allocation_callbacks: 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#<'_>>,
1316 ) {
1317 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_query_poolrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_query_pool.)(
1318 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1319 pool,
1320 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1321 );
1322 }
1323
1324 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyDescriptorSetLayout.html>
1325 #[inline]
1326 pub unsafe fn destroy_descriptor_set_layoutrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_descriptor_set_layout().(
1327 &self,
1328 layout: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorSetLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorSetLayout#,
1329 allocation_callbacks: 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#<'_>>,
1330 ) {
1331 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_descriptor_set_layoutrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_descriptor_set_layout.)(
1332 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1333 layout,
1334 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1335 );
1336 }
1337
1338 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkFreeDescriptorSets.html>
1339 #[inline]
1340 pub unsafe fn free_descriptor_setsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]free_descriptor_sets().(
1341 &self,
1342 pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorPool#,
1343 descriptor_sets: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorSetrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorSet#],
1344 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
1345 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..free_descriptor_setsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#free_descriptor_sets.)(
1346 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1347 pool,
1348 descriptor_sets.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1349 descriptor_sets.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1350 )
1351 .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
1352 }
1353
1354 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkUpdateDescriptorSets.html>
1355 #[inline]
1356 pub unsafe fn update_descriptor_setsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]update_descriptor_sets().(
1357 &self,
1358 descriptor_writes: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::WriteDescriptorSetrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/WriteDescriptorSet#<'_>],
1359 descriptor_copies: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CopyDescriptorSetrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CopyDescriptorSet#<'_>],
1360 ) {
1361 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..update_descriptor_setsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#update_descriptor_sets.)(
1362 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1363 descriptor_writes.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1364 descriptor_writes.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1365 descriptor_copies.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1366 descriptor_copies.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1367 );
1368 }
1369
1370 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateSampler.html>
1371 #[inline]
1372 pub unsafe fn create_samplerrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_sampler().(
1373 &self,
1374 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SamplerCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SamplerCreateInfo#<'_>,
1375 allocation_callbacks: 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#<'_>>,
1376 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Samplerrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Sampler#> {
1377 let mut sampler = 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().();
1378 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_samplerrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_sampler.)(
1379 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1380 create_info,
1381 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1382 sampler.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
1383 )
1384 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(sampler)
1385 }
1386
1387 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdBlitImage.html>
1388 #[inline]
1389 pub unsafe fn cmd_blit_imagerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_blit_image().(
1390 &self,
1391 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#,
1392 src_image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#,
1393 src_image_layout: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/ImageLayout#,
1394 dst_image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#,
1395 dst_image_layout: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/ImageLayout#,
1396 regions: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageBlitrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageBlit#],
1397 filter: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Filterrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/Filter#,
1398 ) {
1399 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_blit_imagerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_blit_image.)(
1400 command_buffer,
1401 src_image,
1402 src_image_layout,
1403 dst_image,
1404 dst_image_layout,
1405 regions.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as _,
1406 regions.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1407 filter,
1408 );
1409 }
1410
1411 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdResolveImage.html>
1412 #[inline]
1413 pub unsafe fn cmd_resolve_imagerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_resolve_image().(
1414 &self,
1415 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#,
1416 src_image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#,
1417 src_image_layout: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/ImageLayout#,
1418 dst_image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#,
1419 dst_image_layout: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/ImageLayout#,
1420 regions: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageResolverust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageResolve#],
1421 ) {
1422 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_resolve_imagerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_resolve_image.)(
1423 command_buffer,
1424 src_image,
1425 src_image_layout,
1426 dst_image,
1427 dst_image_layout,
1428 regions.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1429 regions.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1430 );
1431 }
1432
1433 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdFillBuffer.html>
1434 #[inline]
1435 pub unsafe fn cmd_fill_bufferrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_fill_buffer().(
1436 &self,
1437 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#,
1438 buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
1439 offset: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
1440 size: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
1441 data: u32,
1442 ) {
1443 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_fill_bufferrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_fill_buffer.)(command_buffer, buffer, offset, size, data);
1444 }
1445
1446 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdUpdateBuffer.html>
1447 #[inline]
1448 pub unsafe fn cmd_update_bufferrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_update_buffer().(
1449 &self,
1450 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#,
1451 buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
1452 offset: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
1453 data: &[u8],
1454 ) {
1455 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_update_bufferrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_update_buffer.)(
1456 command_buffer,
1457 buffer,
1458 offset,
1459 data.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u64,
1460 data.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().() as _,
1461 );
1462 }
1463
1464 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdCopyBuffer.html>
1465 #[inline]
1466 pub unsafe fn cmd_copy_bufferrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_copy_buffer().(
1467 &self,
1468 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#,
1469 src_buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
1470 dst_buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
1471 regions: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BufferCopyrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BufferCopy#],
1472 ) {
1473 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_copy_bufferrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_copy_buffer.)(
1474 command_buffer,
1475 src_buffer,
1476 dst_buffer,
1477 regions.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1478 regions.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1479 );
1480 }
1481
1482 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdCopyImageToBuffer.html>
1483 #[inline]
1484 pub unsafe fn cmd_copy_image_to_bufferrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_copy_image_to_buffer().(
1485 &self,
1486 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#,
1487 src_image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#,
1488 src_image_layout: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/ImageLayout#,
1489 dst_buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
1490 regions: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BufferImageCopyrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BufferImageCopy#],
1491 ) {
1492 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_copy_image_to_bufferrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_copy_image_to_buffer.)(
1493 command_buffer,
1494 src_image,
1495 src_image_layout,
1496 dst_buffer,
1497 regions.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1498 regions.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1499 );
1500 }
1501
1502 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdCopyBufferToImage.html>
1503 #[inline]
1504 pub unsafe fn cmd_copy_buffer_to_imagerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_copy_buffer_to_image().(
1505 &self,
1506 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#,
1507 src_buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
1508 dst_image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#,
1509 dst_image_layout: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/ImageLayout#,
1510 regions: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BufferImageCopyrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BufferImageCopy#],
1511 ) {
1512 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_copy_buffer_to_imagerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_copy_buffer_to_image.)(
1513 command_buffer,
1514 src_buffer,
1515 dst_image,
1516 dst_image_layout,
1517 regions.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1518 regions.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1519 );
1520 }
1521
1522 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdCopyImage.html>
1523 #[inline]
1524 pub unsafe fn cmd_copy_imagerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_copy_image().(
1525 &self,
1526 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#,
1527 src_image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#,
1528 src_image_layout: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/ImageLayout#,
1529 dst_image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#,
1530 dst_image_layout: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/ImageLayout#,
1531 regions: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageCopyrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageCopy#],
1532 ) {
1533 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_copy_imagerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_copy_image.)(
1534 command_buffer,
1535 src_image,
1536 src_image_layout,
1537 dst_image,
1538 dst_image_layout,
1539 regions.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1540 regions.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1541 );
1542 }
1543
1544 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkAllocateDescriptorSets.html>
1545 #[inline]
1546 pub unsafe fn allocate_descriptor_setsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]allocate_descriptor_sets().(
1547 &self,
1548 allocate_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorSetAllocateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorSetAllocateInfo#<'_>,
1549 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorSetrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorSet#>> {
1550 let mut desc_set = Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#::with_capacityrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T>`]with_capacity().(allocate_info.descriptor_set_countrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorSetAllocateInfo#descriptor_set_count. as usize);
1551 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..allocate_descriptor_setsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#allocate_descriptor_sets.)(
1552 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1553 allocate_info,
1554 desc_set.as_mut_ptrrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T, A>`]as_mut_ptr().(),
1555 )
1556 .set_vec_len_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]set_vec_len_on_success().(desc_set, allocate_info.descriptor_set_countrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorSetAllocateInfo#descriptor_set_count. as usize)
1557 }
1558
1559 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateDescriptorSetLayout.html>
1560 #[inline]
1561 pub unsafe fn create_descriptor_set_layoutrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_descriptor_set_layout().(
1562 &self,
1563 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorSetLayoutCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorSetLayoutCreateInfo#<'_>,
1564 allocation_callbacks: 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#<'_>>,
1565 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorSetLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorSetLayout#> {
1566 let mut layout = 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().();
1567 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_descriptor_set_layoutrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_descriptor_set_layout.)(
1568 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1569 create_info,
1570 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1571 layout.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
1572 )
1573 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(layout)
1574 }
1575
1576 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDeviceWaitIdle.html>
1577 #[inline]
1578 pub unsafe fn device_wait_idlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]device_wait_idle().(&self) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
1579 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..device_wait_idlerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#device_wait_idle.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().()).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
1580 }
1581
1582 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateDescriptorPool.html>
1583 #[inline]
1584 pub unsafe fn create_descriptor_poolrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_descriptor_pool().(
1585 &self,
1586 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorPoolCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorPoolCreateInfo#<'_>,
1587 allocation_callbacks: 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#<'_>>,
1588 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorPool#> {
1589 let mut pool = 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().();
1590 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_descriptor_poolrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_descriptor_pool.)(
1591 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
1592 create_info,
1593 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
1594 pool.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
1595 )
1596 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(pool)
1597 }
1598
1599 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkResetDescriptorPool.html>
1600 #[inline]
1601 pub unsafe fn reset_descriptor_poolrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]reset_descriptor_pool().(
1602 &self,
1603 pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorPool#,
1604 flags: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorPoolResetFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorPoolResetFlags#,
1605 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
1606 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..reset_descriptor_poolrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#reset_descriptor_pool.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), pool, flags).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
1607 }
1608
1609 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkResetCommandPool.html>
1610 #[inline]
1611 pub unsafe fn reset_command_poolrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]reset_command_pool().(
1612 &self,
1613 command_pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandPool#,
1614 flags: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandPoolResetFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/CommandPoolResetFlags#,
1615 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
1616 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..reset_command_poolrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#reset_command_pool.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), command_pool, flags).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
1617 }
1618
1619 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkResetCommandBuffer.html>
1620 #[inline]
1621 pub unsafe fn reset_command_bufferrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]reset_command_buffer().(
1622 &self,
1623 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#,
1624 flags: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandBufferResetFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/CommandBufferResetFlags#,
1625 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
1626 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..reset_command_bufferrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#reset_command_buffer.)(command_buffer, flags).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
1627 }
1628
1629 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkResetFences.html>
1630 #[inline]
1631 pub unsafe fn reset_fencesrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]reset_fences().(&self, fences: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Fencerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Fence#]) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
1632 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..reset_fencesrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#reset_fences.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), fences.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32, fences.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().())
1633 .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
1634 }
1635
1636 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdBindIndexBuffer.html>
1637 #[inline]
1638 pub unsafe fn cmd_bind_index_bufferrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_bind_index_buffer().(
1639 &self,
1640 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#,
1641 buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
1642 offset: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
1643 index_type: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::IndexTyperust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/IndexType#,
1644 ) {
1645 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_bind_index_bufferrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_bind_index_buffer.)(command_buffer, buffer, offset, index_type);
1646 }
1647
1648 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdClearColorImage.html>
1649 #[inline]
1650 pub unsafe fn cmd_clear_color_imagerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_clear_color_image().(
1651 &self,
1652 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#,
1653 image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#,
1654 image_layout: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/ImageLayout#,
1655 clear_color_value: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ClearColorValuerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ClearColorValue#,
1656 ranges: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageSubresourceRangerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageSubresourceRange#],
1657 ) {
1658 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_clear_color_imagerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_clear_color_image.)(
1659 command_buffer,
1660 image,
1661 image_layout,
1662 clear_color_value,
1663 ranges.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1664 ranges.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1665 );
1666 }
1667
1668 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdClearDepthStencilImage.html>
1669 #[inline]
1670 pub unsafe fn cmd_clear_depth_stencil_imagerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_clear_depth_stencil_image().(
1671 &self,
1672 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#,
1673 image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#,
1674 image_layout: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/ImageLayout#,
1675 clear_depth_stencil_value: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ClearDepthStencilValuerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ClearDepthStencilValue#,
1676 ranges: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageSubresourceRangerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageSubresourceRange#],
1677 ) {
1678 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_clear_depth_stencil_imagerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_clear_depth_stencil_image.)(
1679 command_buffer,
1680 image,
1681 image_layout,
1682 clear_depth_stencil_value,
1683 ranges.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1684 ranges.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1685 );
1686 }
1687
1688 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdClearAttachments.html>
1689 #[inline]
1690 pub unsafe fn cmd_clear_attachmentsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_clear_attachments().(
1691 &self,
1692 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#,
1693 attachments: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ClearAttachmentrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ClearAttachment#],
1694 rects: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ClearRectrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ClearRect#],
1695 ) {
1696 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_clear_attachmentsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_clear_attachments.)(
1697 command_buffer,
1698 attachments.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1699 attachments.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1700 rects.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1701 rects.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1702 );
1703 }
1704
1705 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdDrawIndexed.html>
1706 #[inline]
1707 pub unsafe fn cmd_draw_indexedrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_draw_indexed().(
1708 &self,
1709 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#,
1710 index_count: u32,
1711 instance_count: u32,
1712 first_index: u32,
1713 vertex_offset: i32,
1714 first_instance: u32,
1715 ) {
1716 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_draw_indexedrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_draw_indexed.)(
1717 command_buffer,
1718 index_count,
1719 instance_count,
1720 first_index,
1721 vertex_offset,
1722 first_instance,
1723 );
1724 }
1725
1726 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdDrawIndexedIndirect.html>
1727 #[inline]
1728 pub unsafe fn cmd_draw_indexed_indirectrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_draw_indexed_indirect().(
1729 &self,
1730 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#,
1731 buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
1732 offset: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
1733 draw_count: u32,
1734 stride: u32,
1735 ) {
1736 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_draw_indexed_indirectrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_draw_indexed_indirect.)(
1737 command_buffer,
1738 buffer,
1739 offset,
1740 draw_count,
1741 stride,
1742 );
1743 }
1744
1745 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdExecuteCommands.html>
1746 #[inline]
1747 pub unsafe fn cmd_execute_commandsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_execute_commands().(
1748 &self,
1749 primary_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#,
1750 secondary_command_buffers: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandBufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandBuffer#],
1751 ) {
1752 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_execute_commandsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_execute_commands.)(
1753 primary_command_buffer,
1754 secondary_command_buffers.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1755 secondary_command_buffers.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1756 );
1757 }
1758
1759 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdBindDescriptorSets.html>
1760 #[inline]
1761 pub unsafe fn cmd_bind_descriptor_setsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_bind_descriptor_sets().(
1762 &self,
1763 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#,
1764 pipeline_bind_point: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineBindPointrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/PipelineBindPoint#,
1765 layout: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PipelineLayout#,
1766 first_set: u32,
1767 descriptor_sets: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DescriptorSetrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DescriptorSet#],
1768 dynamic_offsets: &[u32],
1769 ) {
1770 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_bind_descriptor_setsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_bind_descriptor_sets.)(
1771 command_buffer,
1772 pipeline_bind_point,
1773 layout,
1774 first_set,
1775 descriptor_sets.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1776 descriptor_sets.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1777 dynamic_offsets.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1778 dynamic_offsets.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1779 );
1780 }
1781
1782 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdCopyQueryPoolResults.html>
1783 #[inline]
1784 pub unsafe fn cmd_copy_query_pool_resultsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_copy_query_pool_results().(
1785 &self,
1786 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#,
1787 query_pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::QueryPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/QueryPool#,
1788 first_query: u32,
1789 query_count: u32,
1790 dst_buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
1791 dst_offset: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
1792 stride: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
1793 flags: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::QueryResultFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/QueryResultFlags#,
1794 ) {
1795 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_copy_query_pool_resultsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_copy_query_pool_results.)(
1796 command_buffer,
1797 query_pool,
1798 first_query,
1799 query_count,
1800 dst_buffer,
1801 dst_offset,
1802 stride,
1803 flags,
1804 );
1805 }
1806
1807 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdPushConstants.html>
1808 #[inline]
1809 pub unsafe fn cmd_push_constantsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_push_constants().(
1810 &self,
1811 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#,
1812 layout: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PipelineLayout#,
1813 stage_flags: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ShaderStageFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/ShaderStageFlags#,
1814 offset: u32,
1815 constants: &[u8],
1816 ) {
1817 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_push_constantsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_push_constants.)(
1818 command_buffer,
1819 layout,
1820 stage_flags,
1821 offset,
1822 constants.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as _,
1823 constants.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().() as _,
1824 );
1825 }
1826
1827 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdBeginRenderPass.html>
1828 #[inline]
1829 pub unsafe fn cmd_begin_render_passrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_begin_render_pass().(
1830 &self,
1831 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#,
1832 render_pass_begin: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::RenderPassBeginInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/RenderPassBeginInfo#<'_>,
1833 contents: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SubpassContentsrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/SubpassContents#,
1834 ) {
1835 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_begin_render_passrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_begin_render_pass.)(command_buffer, render_pass_begin, contents);
1836 }
1837
1838 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdNextSubpass.html>
1839 #[inline]
1840 pub unsafe fn cmd_next_subpassrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_next_subpass().(
1841 &self,
1842 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#,
1843 contents: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SubpassContentsrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/SubpassContents#,
1844 ) {
1845 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_next_subpassrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_next_subpass.)(command_buffer, contents);
1846 }
1847
1848 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdBindPipeline.html>
1849 #[inline]
1850 pub unsafe fn cmd_bind_pipelinerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_bind_pipeline().(
1851 &self,
1852 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#,
1853 pipeline_bind_point: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineBindPointrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/PipelineBindPoint#,
1854 pipeline: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Pipelinerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Pipeline#,
1855 ) {
1856 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_bind_pipelinerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_bind_pipeline.)(command_buffer, pipeline_bind_point, pipeline);
1857 }
1858
1859 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetScissor.html>
1860 #[inline]
1861 pub unsafe fn cmd_set_scissorrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_scissor().(
1862 &self,
1863 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#,
1864 first_scissor: u32,
1865 scissors: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Rect2Drust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Rect2D#],
1866 ) {
1867 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_set_scissorrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_set_scissor.)(
1868 command_buffer,
1869 first_scissor,
1870 scissors.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1871 scissors.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1872 );
1873 }
1874
1875 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetLineWidth.html>
1876 #[inline]
1877 pub unsafe fn cmd_set_line_widthrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_line_width().(&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#, line_width: f32) {
1878 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_set_line_widthrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_set_line_width.)(command_buffer, line_width);
1879 }
1880
1881 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdBindVertexBuffers.html>
1882 #[inline]
1883 pub unsafe fn cmd_bind_vertex_buffersrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_bind_vertex_buffers().(
1884 &self,
1885 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#,
1886 first_binding: u32,
1887 buffers: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#],
1888 offsets: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#],
1889 ) {
1890 debug_assert_eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/debug_assert_eq!!(buffers.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().(), offsets.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().());
1891 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_bind_vertex_buffersrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_bind_vertex_buffers.)(
1892 command_buffer,
1893 first_binding,
1894 buffers.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1895 buffers.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1896 offsets.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1897 );
1898 }
1899
1900 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdEndRenderPass.html>
1901 #[inline]
1902 pub unsafe fn cmd_end_render_passrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_end_render_pass().(&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#) {
1903 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_end_render_passrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_end_render_pass.)(command_buffer);
1904 }
1905
1906 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdDraw.html>
1907 #[inline]
1908 pub unsafe fn cmd_drawrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_draw().(
1909 &self,
1910 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#,
1911 vertex_count: u32,
1912 instance_count: u32,
1913 first_vertex: u32,
1914 first_instance: u32,
1915 ) {
1916 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_drawrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_draw.)(
1917 command_buffer,
1918 vertex_count,
1919 instance_count,
1920 first_vertex,
1921 first_instance,
1922 );
1923 }
1924
1925 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdDrawIndirect.html>
1926 #[inline]
1927 pub unsafe fn cmd_draw_indirectrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_draw_indirect().(
1928 &self,
1929 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#,
1930 buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
1931 offset: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
1932 draw_count: u32,
1933 stride: u32,
1934 ) {
1935 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_draw_indirectrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_draw_indirect.)(command_buffer, buffer, offset, draw_count, stride);
1936 }
1937
1938 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdDispatch.html>
1939 #[inline]
1940 pub unsafe fn cmd_dispatchrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_dispatch().(
1941 &self,
1942 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#,
1943 group_count_x: u32,
1944 group_count_y: u32,
1945 group_count_z: u32,
1946 ) {
1947 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_dispatchrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_dispatch.)(
1948 command_buffer,
1949 group_count_x,
1950 group_count_y,
1951 group_count_z,
1952 );
1953 }
1954
1955 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdDispatchIndirect.html>
1956 #[inline]
1957 pub unsafe fn cmd_dispatch_indirectrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_dispatch_indirect().(
1958 &self,
1959 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#,
1960 buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
1961 offset: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
1962 ) {
1963 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_dispatch_indirectrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_dispatch_indirect.)(command_buffer, buffer, offset);
1964 }
1965
1966 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetViewport.html>
1967 #[inline]
1968 pub unsafe fn cmd_set_viewportrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_viewport().(
1969 &self,
1970 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#,
1971 first_viewport: u32,
1972 viewports: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Viewportrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Viewport#],
1973 ) {
1974 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_set_viewportrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_set_viewport.)(
1975 command_buffer,
1976 first_viewport,
1977 viewports.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
1978 viewports.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
1979 );
1980 }
1981
1982 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetDepthBias.html>
1983 #[inline]
1984 pub unsafe fn cmd_set_depth_biasrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_depth_bias().(
1985 &self,
1986 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#,
1987 constant_factor: f32,
1988 clamp: f32,
1989 slope_factor: f32,
1990 ) {
1991 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_set_depth_biasrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_set_depth_bias.)(
1992 command_buffer,
1993 constant_factor,
1994 clamp,
1995 slope_factor,
1996 );
1997 }
1998
1999 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetBlendConstants.html>
2000 #[inline]
2001 pub unsafe fn cmd_set_blend_constantsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_blend_constants().(
2002 &self,
2003 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#,
2004 blend_constants: &[f32; 4],
2005 ) {
2006 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_set_blend_constantsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_set_blend_constants.)(command_buffer, blend_constants);
2007 }
2008
2009 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetDepthBounds.html>
2010 #[inline]
2011 pub unsafe fn cmd_set_depth_boundsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_depth_bounds().(
2012 &self,
2013 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#,
2014 min_depth_bounds: f32,
2015 max_depth_bounds: f32,
2016 ) {
2017 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_set_depth_boundsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_set_depth_bounds.)(
2018 command_buffer,
2019 min_depth_bounds,
2020 max_depth_bounds,
2021 );
2022 }
2023
2024 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetStencilCompareMask.html>
2025 #[inline]
2026 pub unsafe fn cmd_set_stencil_compare_maskrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_stencil_compare_mask().(
2027 &self,
2028 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#,
2029 face_mask: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::StencilFaceFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/StencilFaceFlags#,
2030 compare_mask: u32,
2031 ) {
2032 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_set_stencil_compare_maskrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_set_stencil_compare_mask.)(command_buffer, face_mask, compare_mask);
2033 }
2034
2035 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetStencilWriteMask.html>
2036 #[inline]
2037 pub unsafe fn cmd_set_stencil_write_maskrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_stencil_write_mask().(
2038 &self,
2039 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#,
2040 face_mask: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::StencilFaceFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/StencilFaceFlags#,
2041 write_mask: u32,
2042 ) {
2043 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_set_stencil_write_maskrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_set_stencil_write_mask.)(command_buffer, face_mask, write_mask);
2044 }
2045
2046 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdSetStencilReference.html>
2047 #[inline]
2048 pub unsafe fn cmd_set_stencil_referencerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_set_stencil_reference().(
2049 &self,
2050 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#,
2051 face_mask: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::StencilFaceFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/StencilFaceFlags#,
2052 reference: u32,
2053 ) {
2054 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_set_stencil_referencerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_set_stencil_reference.)(command_buffer, face_mask, reference);
2055 }
2056
2057 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetQueryPoolResults.html>
2058 #[inline]
2059 pub unsafe fn get_query_pool_resultsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_query_pool_results().<T>(
2060 &self,
2061 query_pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::QueryPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/QueryPool#,
2062 first_query: u32,
2063 data: &mut [T],
2064 flags: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::QueryResultFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/QueryResultFlags#,
2065 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
2066 let data_size = memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/::size_of_valrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/size_of_val().(data);
2067 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..get_query_pool_resultsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#get_query_pool_results.)(
2068 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2069 query_pool,
2070 first_query,
2071 data.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
2072 data_size,
2073 data.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_mut_ptr().().castrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/mut_ptr/impl#[`*mut T`]cast().(),
2074 memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/::size_ofrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/size_of().::<T>() as _,
2075 flags,
2076 )
2077 .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
2078 }
2079
2080 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdBeginQuery.html>
2081 #[inline]
2082 pub unsafe fn cmd_begin_queryrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_begin_query().(
2083 &self,
2084 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#,
2085 query_pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::QueryPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/QueryPool#,
2086 query: u32,
2087 flags: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::QueryControlFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/QueryControlFlags#,
2088 ) {
2089 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_begin_queryrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_begin_query.)(command_buffer, query_pool, query, flags);
2090 }
2091
2092 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdEndQuery.html>
2093 #[inline]
2094 pub unsafe fn cmd_end_queryrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_end_query().(
2095 &self,
2096 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#,
2097 query_pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::QueryPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/QueryPool#,
2098 query: u32,
2099 ) {
2100 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_end_queryrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_end_query.)(command_buffer, query_pool, query);
2101 }
2102
2103 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdResetQueryPool.html>
2104 #[inline]
2105 pub unsafe fn cmd_reset_query_poolrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_reset_query_pool().(
2106 &self,
2107 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#,
2108 pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::QueryPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/QueryPool#,
2109 first_query: u32,
2110 query_count: u32,
2111 ) {
2112 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_reset_query_poolrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_reset_query_pool.)(command_buffer, pool, first_query, query_count);
2113 }
2114
2115 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdWriteTimestamp.html>
2116 #[inline]
2117 pub unsafe fn cmd_write_timestamprust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_write_timestamp().(
2118 &self,
2119 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#,
2120 pipeline_stage: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineStageFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/PipelineStageFlags#,
2121 query_pool: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::QueryPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/QueryPool#,
2122 query: u32,
2123 ) {
2124 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_write_timestamprust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_write_timestamp.)(command_buffer, pipeline_stage, query_pool, query);
2125 }
2126
2127 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateSemaphore.html>
2128 #[inline]
2129 pub unsafe fn create_semaphorerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_semaphore().(
2130 &self,
2131 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SemaphoreCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SemaphoreCreateInfo#<'_>,
2132 allocation_callbacks: 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#<'_>>,
2133 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Semaphorerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Semaphore#> {
2134 let mut semaphore = 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().();
2135 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_semaphorerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_semaphore.)(
2136 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2137 create_info,
2138 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2139 semaphore.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2140 )
2141 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(semaphore)
2142 }
2143
2144 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateGraphicsPipelines.html>
2145 ///
2146 /// Pipelines are created and returned as described for [Multiple Pipeline Creation].
2147 ///
2148 /// [Multiple Pipeline Creation]: https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#pipelines-multiple
2149 #[inline]
2150 pub unsafe fn create_graphics_pipelinesrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_graphics_pipelines().(
2151 &self,
2152 pipeline_cache: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineCacherust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PipelineCache#,
2153 create_infos: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::GraphicsPipelineCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/GraphicsPipelineCreateInfo#<'_>],
2154 allocation_callbacks: 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#<'_>>,
2155 ) -> Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Pipelinerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Pipeline#>, (Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Pipelinerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Pipeline#>, vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Resultrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/Result#)> {
2156 let mut pipelines = Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#::with_capacityrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T>`]with_capacity().(create_infos.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().());
2157 let err_code = (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_graphics_pipelinesrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_graphics_pipelines.)(
2158 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2159 pipeline_cache,
2160 create_infos.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
2161 create_infos.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
2162 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2163 pipelines.as_mut_ptrrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T, A>`]as_mut_ptr().(),
2164 );
2165 pipelines.set_lenrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T, A>`]set_len().(create_infos.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().());
2166 match err_code {
2167 vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Resultrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/Result#::SUCCESSrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/impl#[Result]SUCCESS. => Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(pipelines),
2168 _ => Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#((pipelines, err_code)),
2169 }
2170 }
2171
2172 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateComputePipelines.html>
2173 ///
2174 /// Pipelines are created and returned as described for [Multiple Pipeline Creation].
2175 ///
2176 /// [Multiple Pipeline Creation]: https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#pipelines-multiple
2177 #[inline]
2178 pub unsafe fn create_compute_pipelinesrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_compute_pipelines().(
2179 &self,
2180 pipeline_cache: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineCacherust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PipelineCache#,
2181 create_infos: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ComputePipelineCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ComputePipelineCreateInfo#<'_>],
2182 allocation_callbacks: 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#<'_>>,
2183 ) -> Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Pipelinerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Pipeline#>, (Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Pipelinerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Pipeline#>, vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Resultrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/Result#)> {
2184 let mut pipelines = Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#::with_capacityrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T>`]with_capacity().(create_infos.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().());
2185 let err_code = (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_compute_pipelinesrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_compute_pipelines.)(
2186 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2187 pipeline_cache,
2188 create_infos.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
2189 create_infos.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
2190 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2191 pipelines.as_mut_ptrrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T, A>`]as_mut_ptr().(),
2192 );
2193 pipelines.set_lenrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T, A>`]set_len().(create_infos.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().());
2194 match err_code {
2195 vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Resultrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/Result#::SUCCESSrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/impl#[Result]SUCCESS. => Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(pipelines),
2196 _ => Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#((pipelines, err_code)),
2197 }
2198 }
2199
2200 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateBuffer.html>
2201 #[inline]
2202 pub unsafe fn create_bufferrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_buffer().(
2203 &self,
2204 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BufferCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BufferCreateInfo#<'_>,
2205 allocation_callbacks: 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#<'_>>,
2206 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#> {
2207 let mut buffer = 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().();
2208 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_bufferrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_buffer.)(
2209 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2210 create_info,
2211 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2212 buffer.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2213 )
2214 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(buffer)
2215 }
2216
2217 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreatePipelineLayout.html>
2218 #[inline]
2219 pub unsafe fn create_pipeline_layoutrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_pipeline_layout().(
2220 &self,
2221 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineLayoutCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PipelineLayoutCreateInfo#<'_>,
2222 allocation_callbacks: 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#<'_>>,
2223 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PipelineLayout#> {
2224 let mut pipeline_layout = 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().();
2225 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_pipeline_layoutrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_pipeline_layout.)(
2226 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2227 create_info,
2228 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2229 pipeline_layout.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2230 )
2231 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(pipeline_layout)
2232 }
2233
2234 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreatePipelineCache.html>
2235 #[inline]
2236 pub unsafe fn create_pipeline_cacherust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_pipeline_cache().(
2237 &self,
2238 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineCacheCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PipelineCacheCreateInfo#<'_>,
2239 allocation_callbacks: 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#<'_>>,
2240 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineCacherust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PipelineCache#> {
2241 let mut pipeline_cache = 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().();
2242 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_pipeline_cacherust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_pipeline_cache.)(
2243 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2244 create_info,
2245 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2246 pipeline_cache.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2247 )
2248 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(pipeline_cache)
2249 }
2250
2251 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetPipelineCacheData.html>
2252 #[inline]
2253 pub unsafe fn get_pipeline_cache_datarust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_pipeline_cache_data().(
2254 &self,
2255 pipeline_cache: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineCacherust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PipelineCache#,
2256 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<u8>> {
2257 read_into_uninitialized_vectorrust-analyzer cargo ash 0.38.0+1.3.281 prelude/read_into_uninitialized_vector().(|count, data: *mut u8| {
2258 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..get_pipeline_cache_datarust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#get_pipeline_cache_data.)(
2259 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2260 pipeline_cache,
2261 count,
2262 data.castrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ptr/mut_ptr/impl#[`*mut T`]cast().(),
2263 )
2264 })
2265 }
2266
2267 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkMergePipelineCaches.html>
2268 #[inline]
2269 pub unsafe fn merge_pipeline_cachesrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]merge_pipeline_caches().(
2270 &self,
2271 dst_cache: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineCacherust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PipelineCache#,
2272 src_caches: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineCacherust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PipelineCache#],
2273 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
2274 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..merge_pipeline_cachesrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#merge_pipeline_caches.)(
2275 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2276 dst_cache,
2277 src_caches.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
2278 src_caches.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
2279 )
2280 .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
2281 }
2282
2283 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkMapMemory.html>
2284 #[inline]
2285 pub unsafe fn map_memoryrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]map_memory().(
2286 &self,
2287 memory: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceMemoryrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceMemory#,
2288 offset: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
2289 size: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
2290 flags: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::MemoryMapFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/MemoryMapFlags#,
2291 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<*mut ffirust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/::c_voidrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/c_void#> {
2292 let mut data = 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().();
2293 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..map_memoryrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#map_memory.)(
2294 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2295 memory,
2296 offset,
2297 size,
2298 flags,
2299 data.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2300 )
2301 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(data)
2302 }
2303
2304 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkUnmapMemory.html>
2305 #[inline]
2306 pub unsafe fn unmap_memoryrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]unmap_memory().(&self, memory: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceMemoryrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceMemory#) {
2307 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..unmap_memoryrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#unmap_memory.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), memory);
2308 }
2309
2310 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkInvalidateMappedMemoryRanges.html>
2311 #[inline]
2312 pub unsafe fn invalidate_mapped_memory_rangesrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]invalidate_mapped_memory_ranges().(
2313 &self,
2314 ranges: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::MappedMemoryRangerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/MappedMemoryRange#<'_>],
2315 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
2316 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..invalidate_mapped_memory_rangesrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#invalidate_mapped_memory_ranges.)(
2317 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2318 ranges.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
2319 ranges.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
2320 )
2321 .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
2322 }
2323
2324 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkFlushMappedMemoryRanges.html>
2325 #[inline]
2326 pub unsafe fn flush_mapped_memory_rangesrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]flush_mapped_memory_ranges().(
2327 &self,
2328 ranges: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::MappedMemoryRangerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/MappedMemoryRange#<'_>],
2329 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
2330 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..flush_mapped_memory_rangesrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#flush_mapped_memory_ranges.)(
2331 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2332 ranges.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
2333 ranges.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
2334 )
2335 .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
2336 }
2337
2338 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateFramebuffer.html>
2339 #[inline]
2340 pub unsafe fn create_framebufferrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_framebuffer().(
2341 &self,
2342 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::FramebufferCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/FramebufferCreateInfo#<'_>,
2343 allocation_callbacks: 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#<'_>>,
2344 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Framebufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Framebuffer#> {
2345 let mut framebuffer = 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().();
2346 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_framebufferrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_framebuffer.)(
2347 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2348 create_info,
2349 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2350 framebuffer.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2351 )
2352 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(framebuffer)
2353 }
2354
2355 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeviceQueue.html>
2356 #[inline]
2357 pub unsafe fn get_device_queuerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_device_queue().(&self, queue_family_index: u32, queue_index: u32) -> vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Queuerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Queue# {
2358 let mut queue = 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().();
2359 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..get_device_queuerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#get_device_queue.)(
2360 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2361 queue_family_index,
2362 queue_index,
2363 queue.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2364 );
2365 queue.assume_initrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]assume_init().()
2366 }
2367
2368 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdPipelineBarrier.html>
2369 #[inline]
2370 pub unsafe fn cmd_pipeline_barrierrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]cmd_pipeline_barrier().(
2371 &self,
2372 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#,
2373 src_stage_mask: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineStageFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/PipelineStageFlags#,
2374 dst_stage_mask: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PipelineStageFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/PipelineStageFlags#,
2375 dependency_flags: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DependencyFlagsrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/DependencyFlags#,
2376 memory_barriers: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::MemoryBarrierrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/MemoryBarrier#<'_>],
2377 buffer_memory_barriers: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BufferMemoryBarrierrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BufferMemoryBarrier#<'_>],
2378 image_memory_barriers: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageMemoryBarrierrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageMemoryBarrier#<'_>],
2379 ) {
2380 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..cmd_pipeline_barrierrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#cmd_pipeline_barrier.)(
2381 command_buffer,
2382 src_stage_mask,
2383 dst_stage_mask,
2384 dependency_flags,
2385 memory_barriers.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
2386 memory_barriers.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
2387 buffer_memory_barriers.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
2388 buffer_memory_barriers.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
2389 image_memory_barriers.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
2390 image_memory_barriers.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
2391 );
2392 }
2393
2394 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateRenderPass.html>
2395 #[inline]
2396 pub unsafe fn create_render_passrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_render_pass().(
2397 &self,
2398 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::RenderPassCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/RenderPassCreateInfo#<'_>,
2399 allocation_callbacks: 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#<'_>>,
2400 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::RenderPassrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/RenderPass#> {
2401 let mut renderpass = 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().();
2402 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_render_passrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_render_pass.)(
2403 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2404 create_info,
2405 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2406 renderpass.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2407 )
2408 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(renderpass)
2409 }
2410
2411 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkBeginCommandBuffer.html>
2412 #[inline]
2413 pub unsafe fn begin_command_bufferrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]begin_command_buffer().(
2414 &self,
2415 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#,
2416 begin_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandBufferBeginInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandBufferBeginInfo#<'_>,
2417 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
2418 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..begin_command_bufferrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#begin_command_buffer.)(command_buffer, begin_info).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
2419 }
2420
2421 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkEndCommandBuffer.html>
2422 #[inline]
2423 pub unsafe fn end_command_bufferrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]end_command_buffer().(&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#) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
2424 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..end_command_bufferrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#end_command_buffer.)(command_buffer).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
2425 }
2426
2427 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkWaitForFences.html>
2428 #[inline]
2429 pub unsafe fn wait_for_fencesrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]wait_for_fences().(
2430 &self,
2431 fences: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Fencerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Fence#],
2432 wait_all: bool,
2433 timeout: u64,
2434 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
2435 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..wait_for_fencesrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#wait_for_fences.)(
2436 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2437 fences.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
2438 fences.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
2439 wait_all as u32,
2440 timeout,
2441 )
2442 .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
2443 }
2444
2445 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetFenceStatus.html>
2446 #[inline]
2447 pub unsafe fn get_fence_statusrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_fence_status().(&self, fence: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Fencerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Fence#) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<bool> {
2448 let err_code = (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..get_fence_statusrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#get_fence_status.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), fence);
2449 match err_code {
2450 vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Resultrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/Result#::SUCCESSrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/impl#[Result]SUCCESS. => Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(true),
2451 vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Resultrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/Result#::NOT_READYrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/impl#[Result]NOT_READY. => Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(false),
2452 _ => Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#(err_code),
2453 }
2454 }
2455
2456 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkQueueWaitIdle.html>
2457 #[inline]
2458 pub unsafe fn queue_wait_idlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]queue_wait_idle().(&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#) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
2459 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..queue_wait_idlerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#queue_wait_idle.)(queue).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
2460 }
2461
2462 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkQueueSubmit.html>
2463 #[inline]
2464 pub unsafe fn queue_submitrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]queue_submit().(
2465 &self,
2466 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#,
2467 submits: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SubmitInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SubmitInfo#<'_>],
2468 fence: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Fencerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Fence#,
2469 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
2470 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..queue_submitrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#queue_submit.)(queue, submits.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32, submits.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(), fence)
2471 .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
2472 }
2473
2474 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkQueueBindSparse.html>
2475 #[inline]
2476 pub unsafe fn queue_bind_sparserust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]queue_bind_sparse().(
2477 &self,
2478 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#,
2479 bind_info: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BindSparseInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BindSparseInfo#<'_>],
2480 fence: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Fencerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Fence#,
2481 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
2482 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..queue_bind_sparserust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#queue_bind_sparse.)(
2483 queue,
2484 bind_info.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32,
2485 bind_info.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(),
2486 fence,
2487 )
2488 .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
2489 }
2490
2491 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateBufferView.html>
2492 #[inline]
2493 pub unsafe fn create_buffer_viewrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_buffer_view().(
2494 &self,
2495 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BufferViewCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BufferViewCreateInfo#<'_>,
2496 allocation_callbacks: 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#<'_>>,
2497 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BufferViewrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BufferView#> {
2498 let mut buffer_view = 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().();
2499 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_buffer_viewrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_buffer_view.)(
2500 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2501 create_info,
2502 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2503 buffer_view.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2504 )
2505 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(buffer_view)
2506 }
2507
2508 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyBufferView.html>
2509 #[inline]
2510 pub unsafe fn destroy_buffer_viewrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]destroy_buffer_view().(
2511 &self,
2512 buffer_view: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::BufferViewrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/BufferView#,
2513 allocation_callbacks: 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#<'_>>,
2514 ) {
2515 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..destroy_buffer_viewrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#destroy_buffer_view.)(
2516 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2517 buffer_view,
2518 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2519 );
2520 }
2521
2522 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateImageView.html>
2523 #[inline]
2524 pub unsafe fn create_image_viewrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_image_view().(
2525 &self,
2526 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageViewCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageViewCreateInfo#<'_>,
2527 allocation_callbacks: 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#<'_>>,
2528 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageViewrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageView#> {
2529 let mut image_view = 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().();
2530 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_image_viewrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_image_view.)(
2531 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2532 create_info,
2533 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2534 image_view.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2535 )
2536 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(image_view)
2537 }
2538
2539 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkAllocateCommandBuffers.html>
2540 #[inline]
2541 pub unsafe fn allocate_command_buffersrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]allocate_command_buffers().(
2542 &self,
2543 allocate_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandBufferAllocateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandBufferAllocateInfo#<'_>,
2544 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandBufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandBuffer#>> {
2545 let mut buffers = Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#::with_capacityrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T>`]with_capacity().(allocate_info.command_buffer_countrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandBufferAllocateInfo#command_buffer_count. as usize);
2546 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..allocate_command_buffersrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#allocate_command_buffers.)(
2547 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2548 allocate_info,
2549 buffers.as_mut_ptrrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/impl#[`Vec<T, A>`]as_mut_ptr().(),
2550 )
2551 .set_vec_len_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]set_vec_len_on_success().(buffers, allocate_info.command_buffer_countrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandBufferAllocateInfo#command_buffer_count. as usize)
2552 }
2553
2554 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateCommandPool.html>
2555 #[inline]
2556 pub unsafe fn create_command_poolrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_command_pool().(
2557 &self,
2558 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandPoolCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandPoolCreateInfo#<'_>,
2559 allocation_callbacks: 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#<'_>>,
2560 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CommandPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CommandPool#> {
2561 let mut pool = 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().();
2562 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_command_poolrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_command_pool.)(
2563 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2564 create_info,
2565 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2566 pool.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2567 )
2568 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(pool)
2569 }
2570
2571 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateQueryPool.html>
2572 #[inline]
2573 pub unsafe fn create_query_poolrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_query_pool().(
2574 &self,
2575 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::QueryPoolCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/QueryPoolCreateInfo#<'_>,
2576 allocation_callbacks: 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#<'_>>,
2577 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::QueryPoolrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/QueryPool#> {
2578 let mut pool = 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().();
2579 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_query_poolrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_query_pool.)(
2580 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2581 create_info,
2582 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2583 pool.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2584 )
2585 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(pool)
2586 }
2587
2588 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateImage.html>
2589 #[inline]
2590 pub unsafe fn create_imagerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_image().(
2591 &self,
2592 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageCreateInfo#<'_>,
2593 allocation_callbacks: 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#<'_>>,
2594 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#> {
2595 let mut image = 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().();
2596 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_imagerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_image.)(
2597 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2598 create_info,
2599 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2600 image.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2601 )
2602 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(image)
2603 }
2604
2605 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetImageSubresourceLayout.html>
2606 #[inline]
2607 pub unsafe fn get_image_subresource_layoutrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_image_subresource_layout().(
2608 &self,
2609 image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#,
2610 subresource: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageSubresourcerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ImageSubresource#,
2611 ) -> vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SubresourceLayoutrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SubresourceLayout# {
2612 let mut layout = 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().();
2613 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..get_image_subresource_layoutrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#get_image_subresource_layout.)(
2614 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2615 image,
2616 &subresource,
2617 layout.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2618 );
2619 layout.assume_initrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]assume_init().()
2620 }
2621
2622 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetImageMemoryRequirements.html>
2623 #[inline]
2624 pub unsafe fn get_image_memory_requirementsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_image_memory_requirements().(&self, image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#) -> vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::MemoryRequirementsrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/MemoryRequirements# {
2625 let mut mem_req = 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().();
2626 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..get_image_memory_requirementsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#get_image_memory_requirements.)(
2627 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2628 image,
2629 mem_req.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2630 );
2631 mem_req.assume_initrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]assume_init().()
2632 }
2633
2634 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetBufferMemoryRequirements.html>
2635 #[inline]
2636 pub unsafe fn get_buffer_memory_requirementsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_buffer_memory_requirements().(
2637 &self,
2638 buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
2639 ) -> vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::MemoryRequirementsrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/MemoryRequirements# {
2640 let mut mem_req = 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().();
2641 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..get_buffer_memory_requirementsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#get_buffer_memory_requirements.)(
2642 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2643 buffer,
2644 mem_req.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2645 );
2646 mem_req.assume_initrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]assume_init().()
2647 }
2648
2649 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkAllocateMemory.html>
2650 #[inline]
2651 pub unsafe fn allocate_memoryrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]allocate_memory().(
2652 &self,
2653 allocate_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::MemoryAllocateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/MemoryAllocateInfo#<'_>,
2654 allocation_callbacks: 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#<'_>>,
2655 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceMemoryrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceMemory#> {
2656 let mut memory = 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().();
2657 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..allocate_memoryrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#allocate_memory.)(
2658 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2659 allocate_info,
2660 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2661 memory.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2662 )
2663 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(memory)
2664 }
2665
2666 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateShaderModule.html>
2667 #[inline]
2668 pub unsafe fn create_shader_modulerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_shader_module().(
2669 &self,
2670 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ShaderModuleCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ShaderModuleCreateInfo#<'_>,
2671 allocation_callbacks: 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#<'_>>,
2672 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ShaderModulerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/ShaderModule#> {
2673 let mut shader = 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().();
2674 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_shader_modulerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_shader_module.)(
2675 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2676 create_info,
2677 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2678 shader.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2679 )
2680 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(shader)
2681 }
2682
2683 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateFence.html>
2684 #[inline]
2685 pub unsafe fn create_fencerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]create_fence().(
2686 &self,
2687 create_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::FenceCreateInforust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/FenceCreateInfo#<'_>,
2688 allocation_callbacks: 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#<'_>>,
2689 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Fencerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Fence#> {
2690 let mut fence = 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().();
2691 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..create_fencerust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#create_fence.)(
2692 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2693 create_info,
2694 allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(),
2695 fence.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2696 )
2697 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(fence)
2698 }
2699
2700 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkBindBufferMemory.html>
2701 #[inline]
2702 pub unsafe fn bind_buffer_memoryrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]bind_buffer_memory().(
2703 &self,
2704 buffer: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Bufferrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Buffer#,
2705 device_memory: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceMemoryrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceMemory#,
2706 offset: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
2707 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
2708 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..bind_buffer_memoryrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#bind_buffer_memory.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), buffer, device_memory, offset)
2709 .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
2710 }
2711
2712 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkBindImageMemory.html>
2713 #[inline]
2714 pub unsafe fn bind_image_memoryrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]bind_image_memory().(
2715 &self,
2716 image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#,
2717 device_memory: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceMemoryrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceMemory#,
2718 offset: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize#,
2719 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
2720 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..bind_image_memoryrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#bind_image_memory.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(), image, device_memory, offset).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
2721 }
2722
2723 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetRenderAreaGranularity.html>
2724 #[inline]
2725 pub unsafe fn get_render_area_granularityrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_render_area_granularity().(&self, render_pass: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::RenderPassrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/RenderPass#) -> vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Extent2Drust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Extent2D# {
2726 let mut granularity = 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().();
2727 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..get_render_area_granularityrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#get_render_area_granularity.)(
2728 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2729 render_pass,
2730 granularity.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2731 );
2732 granularity.assume_initrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]assume_init().()
2733 }
2734
2735 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeviceMemoryCommitment.html>
2736 #[inline]
2737 pub unsafe fn get_device_memory_commitmentrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_device_memory_commitment().(&self, memory: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceMemoryrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceMemory#) -> vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceSizerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeviceSize# {
2738 let mut committed_memory_in_bytes = 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().();
2739 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..get_device_memory_commitmentrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#get_device_memory_commitment.)(
2740 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2741 memory,
2742 committed_memory_in_bytes.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
2743 );
2744 committed_memory_in_bytes.assume_initrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]assume_init().()
2745 }
2746
2747 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetImageSparseMemoryRequirements.html>
2748 #[inline]
2749 pub unsafe fn get_image_sparse_memory_requirementsrust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]get_image_sparse_memory_requirements().(
2750 &self,
2751 image: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Imagerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/Image#,
2752 ) -> Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SparseImageMemoryRequirementsrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SparseImageMemoryRequirements#> {
2753 read_into_uninitialized_vectorrust-analyzer cargo ash 0.38.0+1.3.281 prelude/read_into_uninitialized_vector().(|count, data| {
2754 (self.device_fn_1_0rust-analyzer cargo ash 0.38.0+1.3.281 device/Device#device_fn_1_0..get_image_sparse_memory_requirementsrust-analyzer cargo ash 0.38.0+1.3.281 tables/DeviceFnV1_0#get_image_sparse_memory_requirements.)(
2755 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 device/impl#[Device]handle().(),
2756 image,
2757 count,
2758 data,
2759 );
2760 vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::Resultrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/Result#::SUCCESSrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/impl#[Result]SUCCESS.
2761 })
2762 // The closure always returns SUCCESS
2763 .unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().()
2764 }
2765 }