Struct ash::extensions_generated::khr::maintenance4::Device
source · pub struct Device {
pub(crate) fp: DeviceFn,
pub(crate) handle: Device,
}
Expand description
VK_KHR_maintenance4 device-level functions
Fields§
§fp: DeviceFn
§handle: Device
Implementations§
source§impl Device
impl Device
sourcepub unsafe fn get_device_buffer_memory_requirements(
&self,
memory_requirements: &DeviceBufferMemoryRequirementsKHR<'_>,
out: &mut MemoryRequirements2<'_>,
)
pub unsafe fn get_device_buffer_memory_requirements( &self, memory_requirements: &DeviceBufferMemoryRequirementsKHR<'_>, out: &mut MemoryRequirements2<'_>, )
sourcepub unsafe fn get_device_image_memory_requirements(
&self,
memory_requirements: &DeviceImageMemoryRequirementsKHR<'_>,
out: &mut MemoryRequirements2<'_>,
)
pub unsafe fn get_device_image_memory_requirements( &self, memory_requirements: &DeviceImageMemoryRequirementsKHR<'_>, out: &mut MemoryRequirements2<'_>, )
sourcepub unsafe fn get_device_image_sparse_memory_requirements_len(
&self,
memory_requirements: &DeviceImageMemoryRequirementsKHR<'_>,
) -> usize
pub unsafe fn get_device_image_sparse_memory_requirements_len( &self, memory_requirements: &DeviceImageMemoryRequirementsKHR<'_>, ) -> usize
Retrieve the number of elements to pass to get_device_image_sparse_memory_requirements()
sourcepub unsafe fn get_device_image_sparse_memory_requirements(
&self,
memory_requirements: &DeviceImageMemoryRequirementsKHR<'_>,
out: &mut [SparseImageMemoryRequirements2<'_>],
)
pub unsafe fn get_device_image_sparse_memory_requirements( &self, memory_requirements: &DeviceImageMemoryRequirementsKHR<'_>, out: &mut [SparseImageMemoryRequirements2<'_>], )
Call get_device_image_sparse_memory_requirements_len()
to query the number of elements to pass to out
.
Be sure to Default::default()
-initialize these elements and optionally set their p_next
pointer.
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
)