Struct ash::extensions_generated::khr::maintenance5::Device
source · pub struct Device {
pub(crate) fp: DeviceFn,
pub(crate) handle: Device,
}
Expand description
VK_KHR_maintenance5 device-level functions
Fields§
§fp: DeviceFn
§handle: Device
Implementations§
source§impl Device
impl Device
sourcepub unsafe fn cmd_bind_index_buffer2(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
size: DeviceSize,
index_type: IndexType,
)
pub unsafe fn cmd_bind_index_buffer2( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, size: DeviceSize, index_type: IndexType, )
sourcepub unsafe fn get_rendering_area_granularity(
&self,
rendering_area_info: &RenderingAreaInfoKHR<'_>,
) -> Extent2D
pub unsafe fn get_rendering_area_granularity( &self, rendering_area_info: &RenderingAreaInfoKHR<'_>, ) -> Extent2D
sourcepub unsafe fn get_device_image_subresource_layout(
&self,
info: &DeviceImageSubresourceInfoKHR<'_>,
layout: &mut SubresourceLayout2KHR<'_>,
)
pub unsafe fn get_device_image_subresource_layout( &self, info: &DeviceImageSubresourceInfoKHR<'_>, layout: &mut SubresourceLayout2KHR<'_>, )
sourcepub unsafe fn get_image_subresource_layout2(
&self,
image: Image,
subresource: &ImageSubresource2KHR<'_>,
layout: &mut SubresourceLayout2KHR<'_>,
)
pub unsafe fn get_image_subresource_layout2( &self, image: Image, subresource: &ImageSubresource2KHR<'_>, layout: &mut SubresourceLayout2KHR<'_>, )
Also available as ext::host_image_copy::Device::get_image_subresource_layout2()
when VK_EXT_host_image_copy
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