Struct ash::khr::get_memory_requirements2::Device
source · pub struct Device {
pub(crate) fp: DeviceFn,
pub(crate) handle: Device,
}
Expand description
VK_KHR_get_memory_requirements2 device-level functions
Fields§
§fp: DeviceFn
§handle: Device
Implementations§
source§impl Device
impl Device
sourcepub unsafe fn get_buffer_memory_requirements2(
&self,
info: &BufferMemoryRequirementsInfo2KHR<'_>,
memory_requirements: &mut MemoryRequirements2KHR<'_>,
)
pub unsafe fn get_buffer_memory_requirements2( &self, info: &BufferMemoryRequirementsInfo2KHR<'_>, memory_requirements: &mut MemoryRequirements2KHR<'_>, )
sourcepub unsafe fn get_image_memory_requirements2(
&self,
info: &ImageMemoryRequirementsInfo2KHR<'_>,
memory_requirements: &mut MemoryRequirements2KHR<'_>,
)
pub unsafe fn get_image_memory_requirements2( &self, info: &ImageMemoryRequirementsInfo2KHR<'_>, memory_requirements: &mut MemoryRequirements2KHR<'_>, )
sourcepub unsafe fn get_image_sparse_memory_requirements2_len(
&self,
info: &ImageSparseMemoryRequirementsInfo2KHR<'_>,
) -> usize
pub unsafe fn get_image_sparse_memory_requirements2_len( &self, info: &ImageSparseMemoryRequirementsInfo2KHR<'_>, ) -> usize
Retrieve the number of elements to pass to get_image_sparse_memory_requirements2()
sourcepub unsafe fn get_image_sparse_memory_requirements2(
&self,
info: &ImageSparseMemoryRequirementsInfo2KHR<'_>,
out: &mut [SparseImageMemoryRequirements2KHR<'_>],
)
pub unsafe fn get_image_sparse_memory_requirements2( &self, info: &ImageSparseMemoryRequirementsInfo2KHR<'_>, out: &mut [SparseImageMemoryRequirements2KHR<'_>], )
Call get_image_sparse_memory_requirements2_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