Struct ash::ext::image_compression_control::Device
source · pub struct Device {
pub(crate) fp: DeviceFn,
pub(crate) handle: Device,
}
Expand description
VK_EXT_image_compression_control device-level functions
Fields§
§fp: DeviceFn
§handle: Device
Implementations§
source§impl Device
impl Device
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::host_image_copy::Device::get_image_subresource_layout2()
when VK_EXT_host_image_copy
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