Struct ash::ext::host_image_copy::Device
source · pub struct Device {
pub(crate) fp: DeviceFn,
pub(crate) handle: Device,
}
Expand description
VK_EXT_host_image_copy device-level functions
Fields§
§fp: DeviceFn
§handle: Device
Implementations§
source§impl Device
impl Device
sourcepub unsafe fn copy_memory_to_image(
&self,
copy_memory_to_image_info: &CopyMemoryToImageInfoEXT<'_>,
) -> VkResult<()>
pub unsafe fn copy_memory_to_image( &self, copy_memory_to_image_info: &CopyMemoryToImageInfoEXT<'_>, ) -> VkResult<()>
sourcepub unsafe fn copy_image_to_memory(
&self,
copy_image_to_memory_info: &CopyImageToMemoryInfoEXT<'_>,
) -> VkResult<()>
pub unsafe fn copy_image_to_memory( &self, copy_image_to_memory_info: &CopyImageToMemoryInfoEXT<'_>, ) -> VkResult<()>
sourcepub unsafe fn copy_image_to_image(
&self,
copy_image_to_image_info: &CopyImageToImageInfoEXT<'_>,
) -> VkResult<()>
pub unsafe fn copy_image_to_image( &self, copy_image_to_image_info: &CopyImageToImageInfoEXT<'_>, ) -> VkResult<()>
sourcepub unsafe fn transition_image_layout(
&self,
transitions: &[HostImageLayoutTransitionInfoEXT<'_>],
) -> VkResult<()>
pub unsafe fn transition_image_layout( &self, transitions: &[HostImageLayoutTransitionInfoEXT<'_>], ) -> VkResult<()>
sourcepub unsafe fn get_image_subresource_layout2(
&self,
image: Image,
subresource: &ImageSubresource2EXT<'_>,
layout: &mut SubresourceLayout2EXT<'_>,
)
pub unsafe fn get_image_subresource_layout2( &self, image: Image, subresource: &ImageSubresource2EXT<'_>, layout: &mut SubresourceLayout2EXT<'_>, )
Also available as khr::maintenance5::Device::get_image_subresource_layout2()
when VK_KHR_maintenance5
is enabled.
Also available as ext::image_compression_control::Device::get_image_subresource_layout2()
when VK_EXT_image_compression_control
is enabled.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)