Realm

vk · Functions · G12

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

FnRustExperimental

Fnvk::get_physical_device_surface_formats2_khr

pub unsafe fn get_physical_device_surface_formats2_khr( instance: &Instance, physical_device: PhysicalDevice, p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR<'_>, p_surface_format_count: *mut u32, p_surface_formats: *mut SurfaceFormat2KHR<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceSurfaceFormats2KHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceSurfaceFormats2KHR 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 vkGetPhysicalDeviceSurfaceFormats2KHR 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: vkGetPhysicalDeviceSurfaceFormats2KHR

Fnvk::get_physical_device_surface_formats_khr

pub unsafe fn get_physical_device_surface_formats_khr( instance: &Instance, physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_format_count: *mut u32, p_surface_formats: *mut SurfaceFormatKHR, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceSurfaceFormatsKHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceSurfaceFormatsKHR 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 vkGetPhysicalDeviceSurfaceFormatsKHR 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: vkGetPhysicalDeviceSurfaceFormatsKHR

Fnvk::get_physical_device_surface_present_modes2_ext

pub unsafe fn get_physical_device_surface_present_modes2_ext( instance: &Instance, physical_device: PhysicalDevice, p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR<'_>, p_present_mode_count: *mut u32, p_present_modes: *mut PresentModeKHR, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceSurfacePresentModes2EXT using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceSurfacePresentModes2EXT 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 vkGetPhysicalDeviceSurfacePresentModes2EXT 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: vkGetPhysicalDeviceSurfacePresentModes2EXT

Fnvk::get_physical_device_surface_present_modes_khr

pub unsafe fn get_physical_device_surface_present_modes_khr( instance: &Instance, physical_device: PhysicalDevice, surface: SurfaceKHR, p_present_mode_count: *mut u32, p_present_modes: *mut PresentModeKHR, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceSurfacePresentModesKHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceSurfacePresentModesKHR 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 vkGetPhysicalDeviceSurfacePresentModesKHR 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: vkGetPhysicalDeviceSurfacePresentModesKHR

Fnvk::get_physical_device_surface_support_khr

pub unsafe fn get_physical_device_surface_support_khr( instance: &Instance, physical_device: PhysicalDevice, queue_family_index: u32, surface: SurfaceKHR, p_supported: *mut Bool32, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceSurfaceSupportKHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceSurfaceSupportKHR 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 vkGetPhysicalDeviceSurfaceSupportKHR 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: vkGetPhysicalDeviceSurfaceSupportKHR

Fnvk::get_physical_device_tool_properties

pub unsafe fn get_physical_device_tool_properties( instance: &Instance, physical_device: PhysicalDevice, p_tool_count: *mut u32, p_tool_properties: *mut PhysicalDeviceToolProperties<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceToolProperties using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceToolProperties 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 vkGetPhysicalDeviceToolProperties 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: vkGetPhysicalDeviceToolProperties

Fnvk::get_physical_device_tool_properties_ext

pub unsafe fn get_physical_device_tool_properties_ext( instance: &Instance, physical_device: PhysicalDevice, p_tool_count: *mut u32, p_tool_properties: *mut PhysicalDeviceToolProperties<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceToolPropertiesEXT using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceToolPropertiesEXT 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 vkGetPhysicalDeviceToolPropertiesEXT 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: vkGetPhysicalDeviceToolPropertiesEXT

Fnvk::get_physical_device_ubm_presentation_support_sec

pub unsafe fn get_physical_device_ubm_presentation_support_sec( instance: &Instance, physical_device: PhysicalDevice, queue_family_index: u32, device: *mut ubm_device, ) -> Result<Bool32, CallError>
Call vkGetPhysicalDeviceUbmPresentationSupportSEC using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceUbmPresentationSupportSEC 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 vkGetPhysicalDeviceUbmPresentationSupportSEC 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: vkGetPhysicalDeviceUbmPresentationSupportSEC

Fnvk::get_physical_device_video_capabilities_khr

pub unsafe fn get_physical_device_video_capabilities_khr( instance: &Instance, physical_device: PhysicalDevice, p_video_profile: *const VideoProfileInfoKHR<'_>, p_capabilities: *mut VideoCapabilitiesKHR<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceVideoCapabilitiesKHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceVideoCapabilitiesKHR 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 vkGetPhysicalDeviceVideoCapabilitiesKHR 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: vkGetPhysicalDeviceVideoCapabilitiesKHR

Fnvk::get_physical_device_video_encode_quality_level_properties_khr

pub unsafe fn get_physical_device_video_encode_quality_level_properties_khr( instance: &Instance, physical_device: PhysicalDevice, p_quality_level_info: *const PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'_>, p_quality_level_properties: *mut VideoEncodeQualityLevelPropertiesKHR<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR 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 vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR 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: vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR

Fnvk::get_physical_device_video_format_properties_khr

pub unsafe fn get_physical_device_video_format_properties_khr( instance: &Instance, physical_device: PhysicalDevice, p_video_format_info: *const PhysicalDeviceVideoFormatInfoKHR<'_>, p_video_format_property_count: *mut u32, p_video_format_properties: *mut VideoFormatPropertiesKHR<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceVideoFormatPropertiesKHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceVideoFormatPropertiesKHR 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 vkGetPhysicalDeviceVideoFormatPropertiesKHR 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: vkGetPhysicalDeviceVideoFormatPropertiesKHR

Fnvk::get_physical_device_wayland_presentation_support_khr

pub unsafe fn get_physical_device_wayland_presentation_support_khr( instance: &Instance, physical_device: PhysicalDevice, queue_family_index: u32, display: *mut wl_display, ) -> Result<Bool32, CallError>
Call vkGetPhysicalDeviceWaylandPresentationSupportKHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceWaylandPresentationSupportKHR 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 vkGetPhysicalDeviceWaylandPresentationSupportKHR 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: vkGetPhysicalDeviceWaylandPresentationSupportKHR

Fnvk::get_physical_device_win32_presentation_support_khr

pub unsafe fn get_physical_device_win32_presentation_support_khr( instance: &Instance, physical_device: PhysicalDevice, queue_family_index: u32, ) -> Result<Bool32, CallError>
Call vkGetPhysicalDeviceWin32PresentationSupportKHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceWin32PresentationSupportKHR 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 vkGetPhysicalDeviceWin32PresentationSupportKHR 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: vkGetPhysicalDeviceWin32PresentationSupportKHR

Fnvk::get_physical_device_xcb_presentation_support_khr

pub unsafe fn get_physical_device_xcb_presentation_support_khr( instance: &Instance, physical_device: PhysicalDevice, queue_family_index: u32, connection: *mut xcb_connection_t, visual_id: xcb_visualid_t, ) -> Result<Bool32, CallError>
Call vkGetPhysicalDeviceXcbPresentationSupportKHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceXcbPresentationSupportKHR 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 vkGetPhysicalDeviceXcbPresentationSupportKHR 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: vkGetPhysicalDeviceXcbPresentationSupportKHR

Fnvk::get_physical_device_xlib_presentation_support_khr

pub unsafe fn get_physical_device_xlib_presentation_support_khr( instance: &Instance, physical_device: PhysicalDevice, queue_family_index: u32, dpy: *mut Display, visual_id: VisualID, ) -> Result<Bool32, CallError>
Call vkGetPhysicalDeviceXlibPresentationSupportKHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceXlibPresentationSupportKHR 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 vkGetPhysicalDeviceXlibPresentationSupportKHR 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: vkGetPhysicalDeviceXlibPresentationSupportKHR

Fnvk::get_pipeline_binary_data_khr

pub unsafe fn get_pipeline_binary_data_khr( device: &Device, p_info: *const PipelineBinaryDataInfoKHR<'_>, p_pipeline_binary_key: *mut PipelineBinaryKeyKHR<'_>, p_pipeline_binary_data_size: *mut usize, p_pipeline_binary_data: *mut c_void, ) -> Result<Result, CallError>
Call vkGetPipelineBinaryDataKHR using this context’s cached function pointer.

Contract

Call vkGetPipelineBinaryDataKHR 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 vkGetPipelineBinaryDataKHR 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: vkGetPipelineBinaryDataKHR