Realm

vk · Functions · G11

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

FnRustExperimental

Fnvk::get_physical_device_queue_family_data_graph_engine_operation_properties_arm

pub unsafe fn get_physical_device_queue_family_data_graph_engine_operation_properties_arm( instance: &Instance, physical_device: PhysicalDevice, queue_family_index: u32, p_queue_family_data_graph_properties: *const QueueFamilyDataGraphPropertiesARM<'_>, p_properties: *mut BaseOutStructure<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_queue_family_data_graph_optical_flow_image_formats_arm

pub unsafe fn get_physical_device_queue_family_data_graph_optical_flow_image_formats_arm( instance: &Instance, physical_device: PhysicalDevice, queue_family_index: u32, p_queue_family_data_graph_properties: *const QueueFamilyDataGraphPropertiesARM<'_>, p_optical_flow_image_format_info: *const DataGraphOpticalFlowImageFormatInfoARM<'_>, p_format_count: *mut u32, p_image_format_properties: *mut DataGraphOpticalFlowImageFormatPropertiesARM<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_queue_family_data_graph_processing_engine_properties_arm

pub unsafe fn get_physical_device_queue_family_data_graph_processing_engine_properties_arm( instance: &Instance, physical_device: PhysicalDevice, p_queue_family_data_graph_processing_engine_info: *const PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM<'_>, p_queue_family_data_graph_processing_engine_properties: *mut QueueFamilyDataGraphProcessingEnginePropertiesARM<'_>, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_queue_family_data_graph_properties_arm

pub unsafe fn get_physical_device_queue_family_data_graph_properties_arm( instance: &Instance, physical_device: PhysicalDevice, queue_family_index: u32, p_queue_family_data_graph_property_count: *mut u32, p_queue_family_data_graph_properties: *mut QueueFamilyDataGraphPropertiesARM<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_queue_family_performance_query_passes_khr

pub unsafe fn get_physical_device_queue_family_performance_query_passes_khr( instance: &Instance, physical_device: PhysicalDevice, p_performance_query_create_info: *const QueryPoolPerformanceCreateInfoKHR<'_>, p_num_passes: *mut u32, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_queue_family_properties

pub unsafe fn get_physical_device_queue_family_properties( instance: &Instance, physical_device: PhysicalDevice, ) -> Result<Vec<QueueFamilyProperties>, CallError>
Enumerate queue families and their properties for a physical device.

Contract

Enumerate queue families and their properties for a physical device.

Safety

The instance must be live and physical_device must belong to it.

Khronos reference: vkGetPhysicalDeviceQueueFamilyProperties

Fnvk::get_physical_device_queue_family_properties2

pub unsafe fn get_physical_device_queue_family_properties2( instance: &Instance, physical_device: PhysicalDevice, queue_family_property_count: &mut u32, queue_family_properties: Option<&mut [QueueFamilyProperties2<'_>]>, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceQueueFamilyProperties2 using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceQueueFamilyProperties2 using this context’s cached function pointer.

Errors

Reports a missing command, invalid slice lengths/counts or a native error.

Safety

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

Pass None to query the count, or Some with fully initialized output records and live, valid output chains. The slice length supplies native capacity; count receives the native number available/written. Some(empty) is a zero- capacity fill, not a count query. No allocation, retry, header reset or chain replacement occurs. Handle INCOMPLETE (result queries) or re-query for growth (void queries) explicitly. Output contents after native errors follow Vulkan.

Khronos reference: vkGetPhysicalDeviceQueueFamilyProperties2

Fnvk::get_physical_device_queue_family_properties2_khr

pub unsafe fn get_physical_device_queue_family_properties2_khr( instance: &Instance, physical_device: PhysicalDevice, queue_family_property_count: &mut u32, queue_family_properties: Option<&mut [QueueFamilyProperties2<'_>]>, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceQueueFamilyProperties2KHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceQueueFamilyProperties2KHR using this context’s cached function pointer.

Errors

Reports a missing command, invalid slice lengths/counts or a native error.

Safety

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

Pass None to query the count, or Some with fully initialized output records and live, valid output chains. The slice length supplies native capacity; count receives the native number available/written. Some(empty) is a zero- capacity fill, not a count query. No allocation, retry, header reset or chain replacement occurs. Handle INCOMPLETE (result queries) or re-query for growth (void queries) explicitly. Output contents after native errors follow Vulkan.

Khronos reference: vkGetPhysicalDeviceQueueFamilyProperties2KHR

Fnvk::get_physical_device_screen_presentation_support_qnx

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

Contract

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

Fnvk::get_physical_device_sparse_image_format_properties

pub unsafe fn get_physical_device_sparse_image_format_properties( instance: &Instance, physical_device: PhysicalDevice, format: Format, type: ImageType, samples: SampleCountFlagBits, usage: ImageUsageFlags, tiling: ImageTiling, ) -> Result<Vec<SparseImageFormatProperties>, CallError>
Call vkGetPhysicalDeviceSparseImageFormatProperties using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceSparseImageFormatProperties using this context’s cached function pointer.

Errors

Reports a missing command, invalid slice lengths/counts or a native error.

Safety

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

Retries incomplete/growing results with a bounded budget; returns an error if the query does not stabilize. Allocates the returned vector.

Khronos reference: vkGetPhysicalDeviceSparseImageFormatProperties

Fnvk::get_physical_device_sparse_image_format_properties2

pub unsafe fn get_physical_device_sparse_image_format_properties2( instance: &Instance, physical_device: PhysicalDevice, format_info: &PhysicalDeviceSparseImageFormatInfo2<'_>, property_count: &mut u32, properties: Option<&mut [SparseImageFormatProperties2<'_>]>, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceSparseImageFormatProperties2 using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceSparseImageFormatProperties2 using this context’s cached function pointer.

Errors

Reports a missing command, invalid slice lengths/counts or a native error.

Safety

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

Pass None to query the count, or Some with fully initialized output records and live, valid output chains. The slice length supplies native capacity; count receives the native number available/written. Some(empty) is a zero- capacity fill, not a count query. No allocation, retry, header reset or chain replacement occurs. Handle INCOMPLETE (result queries) or re-query for growth (void queries) explicitly. Output contents after native errors follow Vulkan.

Khronos reference: vkGetPhysicalDeviceSparseImageFormatProperties2

Fnvk::get_physical_device_sparse_image_format_properties2_khr

pub unsafe fn get_physical_device_sparse_image_format_properties2_khr( instance: &Instance, physical_device: PhysicalDevice, format_info: &PhysicalDeviceSparseImageFormatInfo2<'_>, property_count: &mut u32, properties: Option<&mut [SparseImageFormatProperties2<'_>]>, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceSparseImageFormatProperties2KHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceSparseImageFormatProperties2KHR using this context’s cached function pointer.

Errors

Reports a missing command, invalid slice lengths/counts or a native error.

Safety

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

Pass None to query the count, or Some with fully initialized output records and live, valid output chains. The slice length supplies native capacity; count receives the native number available/written. Some(empty) is a zero- capacity fill, not a count query. No allocation, retry, header reset or chain replacement occurs. Handle INCOMPLETE (result queries) or re-query for growth (void queries) explicitly. Output contents after native errors follow Vulkan.

Khronos reference: vkGetPhysicalDeviceSparseImageFormatProperties2KHR

Fnvk::get_physical_device_supported_framebuffer_mixed_samples_combinations_nv

pub unsafe fn get_physical_device_supported_framebuffer_mixed_samples_combinations_nv( instance: &Instance, physical_device: PhysicalDevice, p_combination_count: *mut u32, p_combinations: *mut FramebufferMixedSamplesCombinationNV<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_surface_capabilities2_ext

pub unsafe fn get_physical_device_surface_capabilities2_ext( instance: &Instance, physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_capabilities: *mut SurfaceCapabilities2EXT<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceSurfaceCapabilities2EXT using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_surface_capabilities2_khr

pub unsafe fn get_physical_device_surface_capabilities2_khr( instance: &Instance, physical_device: PhysicalDevice, p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR<'_>, p_surface_capabilities: *mut SurfaceCapabilities2KHR<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceSurfaceCapabilities2KHR using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_surface_capabilities_khr

pub unsafe fn get_physical_device_surface_capabilities_khr( instance: &Instance, physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_capabilities: *mut SurfaceCapabilitiesKHR, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceSurfaceCapabilitiesKHR using this context’s cached function pointer.

Contract

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