| 1 | //! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_deferred_host_operations.html> |
| 2 | |
| 3 | use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::preluderust-analyzer cargo ash 0.38.0+1.3.281 prelude/::*; |
| 4 | use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/; |
| 5 | use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::RawPtrrust-analyzer cargo ash 0.38.0+1.3.281 RawPtr#; |
| 6 | use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/; |
| 7 | |
| 8 | impl craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::khrrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/::deferred_host_operationsrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/::Devicerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/Device# { |
| 9 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCreateDeferredOperationKHR.html> |
| 10 | #[inline] |
| 11 | pub unsafe fn create_deferred_operationrust-analyzer cargo ash 0.38.0+1.3.281 extensions/khr/deferred_host_operations/impl#[`crate::khr::deferred_host_operations::Device`]create_deferred_operation().( |
| 12 | &self, |
| 13 | 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#<'_>>, |
| 14 | ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeferredOperationKHRrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeferredOperationKHR#> { |
| 15 | let mut operation = 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().(); |
| 16 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/Device#fp..create_deferred_operation_khrrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/DeviceFn#create_deferred_operation_khr.)( |
| 17 | self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/Device#handle., |
| 18 | allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(), |
| 19 | operation.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(), |
| 20 | ) |
| 21 | .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(operation) |
| 22 | } |
| 23 | |
| 24 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDeferredOperationJoinKHR.html> |
| 25 | #[inline] |
| 26 | pub unsafe fn deferred_operation_joinrust-analyzer cargo ash 0.38.0+1.3.281 extensions/khr/deferred_host_operations/impl#[`crate::khr::deferred_host_operations::Device`]deferred_operation_join().( |
| 27 | &self, |
| 28 | operation: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeferredOperationKHRrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeferredOperationKHR#, |
| 29 | ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> { |
| 30 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/Device#fp..deferred_operation_join_khrrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/DeviceFn#deferred_operation_join_khr.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/Device#handle., operation).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().() |
| 31 | } |
| 32 | |
| 33 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkDestroyDeferredOperationKHR.html> |
| 34 | #[inline] |
| 35 | pub unsafe fn destroy_deferred_operationrust-analyzer cargo ash 0.38.0+1.3.281 extensions/khr/deferred_host_operations/impl#[`crate::khr::deferred_host_operations::Device`]destroy_deferred_operation().( |
| 36 | &self, |
| 37 | operation: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeferredOperationKHRrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeferredOperationKHR#, |
| 38 | 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#<'_>>, |
| 39 | ) { |
| 40 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/Device#fp..destroy_deferred_operation_khrrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/DeviceFn#destroy_deferred_operation_khr.)( |
| 41 | self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/Device#handle., |
| 42 | operation, |
| 43 | allocation_callbacks.as_raw_ptrrust-analyzer cargo ash 0.38.0+1.3.281 impl#[`Option<&'r T>`][`RawPtr<T>`]as_raw_ptr().(), |
| 44 | ); |
| 45 | } |
| 46 | |
| 47 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeferredOperationMaxConcurrencyKHR.html> |
| 48 | #[inline] |
| 49 | pub unsafe fn get_deferred_operation_max_concurrencyrust-analyzer cargo ash 0.38.0+1.3.281 extensions/khr/deferred_host_operations/impl#[`crate::khr::deferred_host_operations::Device`]get_deferred_operation_max_concurrency().( |
| 50 | &self, |
| 51 | operation: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeferredOperationKHRrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeferredOperationKHR#, |
| 52 | ) -> u32 { |
| 53 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/Device#fp..get_deferred_operation_max_concurrency_khrrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/DeviceFn#get_deferred_operation_max_concurrency_khr.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/Device#handle., operation) |
| 54 | } |
| 55 | |
| 56 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeferredOperationResultKHR.html> |
| 57 | #[inline] |
| 58 | pub unsafe fn get_deferred_operation_resultrust-analyzer cargo ash 0.38.0+1.3.281 extensions/khr/deferred_host_operations/impl#[`crate::khr::deferred_host_operations::Device`]get_deferred_operation_result().( |
| 59 | &self, |
| 60 | operation: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeferredOperationKHRrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/DeferredOperationKHR#, |
| 61 | ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> { |
| 62 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/Device#fp..get_deferred_operation_result_khrrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/DeviceFn#get_deferred_operation_result_khr.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/deferred_host_operations/Device#handle., operation).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().() |
| 63 | } |
| 64 | } |