Realm

vk · Functions · G7

16 public declarations with native signatures and source-owned contracts.

FnRustExperimental

Fnvk::get_image_view_handle_nvx

pub unsafe fn get_image_view_handle_nvx( device: &Device, p_info: *const ImageViewHandleInfoNVX<'_>, ) -> Result<u32, CallError>
Call vkGetImageViewHandleNVX using this context’s cached function pointer.

Contract

Call vkGetImageViewHandleNVX using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetImageViewHandleNVX valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetImageViewHandleNVX

Fnvk::get_image_view_opaque_capture_descriptor_data_ext

pub unsafe fn get_image_view_opaque_capture_descriptor_data_ext( device: &Device, p_info: *const ImageViewCaptureDescriptorDataInfoEXT<'_>, p_data: *mut c_void, ) -> Result<Result, CallError>
Call vkGetImageViewOpaqueCaptureDescriptorDataEXT using this context’s cached function pointer.

Contract

Call vkGetImageViewOpaqueCaptureDescriptorDataEXT using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetImageViewOpaqueCaptureDescriptorDataEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetImageViewOpaqueCaptureDescriptorDataEXT

Fnvk::get_instance_proc_addr

Contract

Resolve an instance command using this instance’s retained loader.

Safety

Cast to the command’s exact ABI, obey its enabled-version/extension requirements and keep the instance and native library alive during use.

Khronos reference: vkGetInstanceProcAddr

Fnvk::get_latency_timings_legacy_nv

pub unsafe fn get_latency_timings_legacy_nv( device: &Device, p_timings: *mut c_void, ) -> Result<(), CallError>
Call vkGetLatencyTimingsLegacyNV using this context’s cached function pointer.

Contract

Call vkGetLatencyTimingsLegacyNV using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetLatencyTimingsLegacyNV valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetLatencyTimingsLegacyNV

Fnvk::get_latency_timings_nv

pub unsafe fn get_latency_timings_nv( device: &Device, swapchain: SwapchainKHR, p_latency_marker_info: *mut GetLatencyMarkerInfoNV<'_>, ) -> Result<(), CallError>
Call vkGetLatencyTimingsNV using this context’s cached function pointer.

Contract

Call vkGetLatencyTimingsNV using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetLatencyTimingsNV valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetLatencyTimingsNV

Fnvk::get_memory_android_hardware_buffer_android

pub unsafe fn get_memory_android_hardware_buffer_android( device: &Device, p_info: *const MemoryGetAndroidHardwareBufferInfoANDROID<'_>, p_buffer: *mut *mut AHardwareBuffer, ) -> Result<Result, CallError>
Call vkGetMemoryAndroidHardwareBufferANDROID using this context’s cached function pointer.

Contract

Call vkGetMemoryAndroidHardwareBufferANDROID using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetMemoryAndroidHardwareBufferANDROID valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetMemoryAndroidHardwareBufferANDROID

Fnvk::get_memory_fd_khr

pub unsafe fn get_memory_fd_khr( device: &Device, p_get_fd_info: *const MemoryGetFdInfoKHR<'_>, p_fd: *mut i32, ) -> Result<Result, CallError>
Call vkGetMemoryFdKHR using this context’s cached function pointer.

Contract

Call vkGetMemoryFdKHR using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetMemoryFdKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetMemoryFdKHR

Fnvk::get_memory_fd_properties_khr

pub unsafe fn get_memory_fd_properties_khr( device: &Device, handle_type: ExternalMemoryHandleTypeFlagBits, fd: i32, p_memory_fd_properties: *mut MemoryFdPropertiesKHR<'_>, ) -> Result<Result, CallError>
Call vkGetMemoryFdPropertiesKHR using this context’s cached function pointer.

Contract

Call vkGetMemoryFdPropertiesKHR using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetMemoryFdPropertiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetMemoryFdPropertiesKHR

Fnvk::get_memory_host_pointer_properties_ext

pub unsafe fn get_memory_host_pointer_properties_ext( device: &Device, handle_type: ExternalMemoryHandleTypeFlagBits, p_host_pointer: *const c_void, p_memory_host_pointer_properties: *mut MemoryHostPointerPropertiesEXT<'_>, ) -> Result<Result, CallError>
Call vkGetMemoryHostPointerPropertiesEXT using this context’s cached function pointer.

Contract

Call vkGetMemoryHostPointerPropertiesEXT using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetMemoryHostPointerPropertiesEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetMemoryHostPointerPropertiesEXT

Fnvk::get_memory_metal_handle_ext

pub unsafe fn get_memory_metal_handle_ext( device: &Device, p_get_metal_handle_info: *const MemoryGetMetalHandleInfoEXT<'_>, p_handle: *mut *mut c_void, ) -> Result<Result, CallError>
Call vkGetMemoryMetalHandleEXT using this context’s cached function pointer.

Contract

Call vkGetMemoryMetalHandleEXT using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetMemoryMetalHandleEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetMemoryMetalHandleEXT

Fnvk::get_memory_metal_handle_properties_ext

pub unsafe fn get_memory_metal_handle_properties_ext( device: &Device, handle_type: ExternalMemoryHandleTypeFlagBits, p_handle: *const c_void, p_memory_metal_handle_properties: *mut MemoryMetalHandlePropertiesEXT<'_>, ) -> Result<Result, CallError>
Call vkGetMemoryMetalHandlePropertiesEXT using this context’s cached function pointer.

Contract

Call vkGetMemoryMetalHandlePropertiesEXT using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetMemoryMetalHandlePropertiesEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetMemoryMetalHandlePropertiesEXT

Fnvk::get_memory_native_buffer_ohos

pub unsafe fn get_memory_native_buffer_ohos( device: &Device, p_info: *const MemoryGetNativeBufferInfoOHOS<'_>, p_buffer: *mut *mut OH_NativeBuffer, ) -> Result<Result, CallError>
Call vkGetMemoryNativeBufferOHOS using this context’s cached function pointer.

Contract

Call vkGetMemoryNativeBufferOHOS using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetMemoryNativeBufferOHOS valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetMemoryNativeBufferOHOS

Fnvk::get_memory_remote_address_nv

pub unsafe fn get_memory_remote_address_nv( device: &Device, p_memory_get_remote_address_info: *const MemoryGetRemoteAddressInfoNV<'_>, p_address: *mut RemoteAddressNV, ) -> Result<Result, CallError>
Call vkGetMemoryRemoteAddressNV using this context’s cached function pointer.

Contract

Call vkGetMemoryRemoteAddressNV using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetMemoryRemoteAddressNV valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetMemoryRemoteAddressNV

Fnvk::get_memory_win32_handle_khr

pub unsafe fn get_memory_win32_handle_khr( device: &Device, p_get_win32_handle_info: *const MemoryGetWin32HandleInfoKHR<'_>, p_handle: *mut HANDLE, ) -> Result<Result, CallError>
Call vkGetMemoryWin32HandleKHR using this context’s cached function pointer.

Contract

Call vkGetMemoryWin32HandleKHR using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetMemoryWin32HandleKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetMemoryWin32HandleKHR

Fnvk::get_memory_win32_handle_nv

pub unsafe fn get_memory_win32_handle_nv( device: &Device, memory: DeviceMemory, handle_type: ExternalMemoryHandleTypeFlagsNV, p_handle: *mut HANDLE, ) -> Result<Result, CallError>
Call vkGetMemoryWin32HandleNV using this context’s cached function pointer.

Contract

Call vkGetMemoryWin32HandleNV using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetMemoryWin32HandleNV valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetMemoryWin32HandleNV

Fnvk::get_memory_win32_handle_properties_khr

pub unsafe fn get_memory_win32_handle_properties_khr( device: &Device, handle_type: ExternalMemoryHandleTypeFlagBits, handle: HANDLE, p_memory_win32_handle_properties: *mut MemoryWin32HandlePropertiesKHR<'_>, ) -> Result<Result, CallError>
Call vkGetMemoryWin32HandlePropertiesKHR using this context’s cached function pointer.

Contract

Call vkGetMemoryWin32HandlePropertiesKHR using this context’s cached function pointer.

Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetMemoryWin32HandlePropertiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Khronos reference: vkGetMemoryWin32HandlePropertiesKHR