| 1 | //! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_host_image_copy.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 | #[cfg(doc)] |
| 6 | use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::{extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/, khrrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/}; |
| 7 | |
| 8 | impl craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/::host_image_copyrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/::Devicerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/Device# { |
| 9 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCopyMemoryToImageEXT.html> |
| 10 | #[inline] |
| 11 | pub unsafe fn copy_memory_to_imagerust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/host_image_copy/impl#[`crate::ext::host_image_copy::Device`]copy_memory_to_image().( |
| 12 | &self, |
| 13 | copy_memory_to_image_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CopyMemoryToImageInfoEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CopyMemoryToImageInfoEXT#<'_>, |
| 14 | ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> { |
| 15 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/Device#fp..copy_memory_to_image_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/DeviceFn#copy_memory_to_image_ext.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/Device#handle., copy_memory_to_image_info).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().() |
| 16 | } |
| 17 | |
| 18 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCopyImageToMemoryEXT.html> |
| 19 | #[inline] |
| 20 | pub unsafe fn copy_image_to_memoryrust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/host_image_copy/impl#[`crate::ext::host_image_copy::Device`]copy_image_to_memory().( |
| 21 | &self, |
| 22 | copy_image_to_memory_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CopyImageToMemoryInfoEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CopyImageToMemoryInfoEXT#<'_>, |
| 23 | ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> { |
| 24 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/Device#fp..copy_image_to_memory_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/DeviceFn#copy_image_to_memory_ext.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/Device#handle., copy_image_to_memory_info).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().() |
| 25 | } |
| 26 | |
| 27 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCopyImageToImageEXT.html> |
| 28 | #[inline] |
| 29 | pub unsafe fn copy_image_to_imagerust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/host_image_copy/impl#[`crate::ext::host_image_copy::Device`]copy_image_to_image().( |
| 30 | &self, |
| 31 | copy_image_to_image_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::CopyImageToImageInfoEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/CopyImageToImageInfoEXT#<'_>, |
| 32 | ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> { |
| 33 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/Device#fp..copy_image_to_image_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/DeviceFn#copy_image_to_image_ext.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/Device#handle., copy_image_to_image_info).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().() |
| 34 | } |
| 35 | |
| 36 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkTransitionImageLayoutEXT.html> |
| 37 | #[inline] |
| 38 | pub unsafe fn transition_image_layoutrust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/host_image_copy/impl#[`crate::ext::host_image_copy::Device`]transition_image_layout().( |
| 39 | &self, |
| 40 | transitions: &[vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::HostImageLayoutTransitionInfoEXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/HostImageLayoutTransitionInfoEXT#<'_>], |
| 41 | ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> { |
| 42 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/Device#fp..transition_image_layout_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/DeviceFn#transition_image_layout_ext.)( |
| 43 | self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/Device#handle., |
| 44 | transitions.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().() as u32, |
| 45 | transitions.as_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]as_ptr().(), |
| 46 | ) |
| 47 | .resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().() |
| 48 | } |
| 49 | |
| 50 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetImageSubresourceLayout2EXT.html> |
| 51 | /// |
| 52 | /// Also available as [`khr::maintenance5::Device::get_image_subresource_layout2()`] |
| 53 | /// when [`VK_KHR_maintenance5`] is enabled. |
| 54 | /// |
| 55 | /// Also available as [`ext::image_compression_control::Device::get_image_subresource_layout2()`] |
| 56 | /// when [`VK_EXT_image_compression_control`] is enabled. |
| 57 | /// |
| 58 | /// [`VK_KHR_maintenance5`]: https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_maintenance5.html |
| 59 | /// [`VK_EXT_image_compression_control`]: https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_image_compression_control.html |
| 60 | #[inline] |
| 61 | pub unsafe fn get_image_subresource_layout2rust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/host_image_copy/impl#[`crate::ext::host_image_copy::Device`]get_image_subresource_layout2().( |
| 62 | &self, |
| 63 | 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#, |
| 64 | subresource: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::ImageSubresource2EXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/aliases/ImageSubresource2EXT#<'_>, |
| 65 | layout: &mut vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SubresourceLayout2EXTrust-analyzer cargo ash 0.38.0+1.3.281 vk/aliases/SubresourceLayout2EXT#<'_>, |
| 66 | ) { |
| 67 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/Device#fp..get_image_subresource_layout2_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/DeviceFn#get_image_subresource_layout2_ext.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/host_image_copy/Device#handle., image, subresource, layout) |
| 68 | } |
| 69 | } |