Struct ash::extensions_generated::khr::external_memory_win32::Device
source · pub struct Device {
pub(crate) fp: DeviceFn,
pub(crate) handle: Device,
}
Expand description
VK_KHR_external_memory_win32 device-level functions
Fields§
§fp: DeviceFn
§handle: Device
Implementations§
source§impl Device
impl Device
sourcepub unsafe fn get_memory_win32_handle(
&self,
create_info: &MemoryGetWin32HandleInfoKHR<'_>,
) -> VkResult<HANDLE>
pub unsafe fn get_memory_win32_handle( &self, create_info: &MemoryGetWin32HandleInfoKHR<'_>, ) -> VkResult<HANDLE>
sourcepub unsafe fn get_memory_win32_handle_properties(
&self,
handle_type: ExternalMemoryHandleTypeFlags,
handle: HANDLE,
memory_win32_handle_properties: &mut MemoryWin32HandlePropertiesKHR<'_>,
) -> VkResult<()>
pub unsafe fn get_memory_win32_handle_properties( &self, handle_type: ExternalMemoryHandleTypeFlags, handle: HANDLE, memory_win32_handle_properties: &mut MemoryWin32HandlePropertiesKHR<'_>, ) -> VkResult<()>
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