Realm

vk · Functions · G9

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

FnRustExperimental

Fnvk::get_physical_device_direct_fb_presentation_support_ext

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

Contract

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

Fnvk::get_physical_device_display_plane_properties2_khr

pub unsafe fn get_physical_device_display_plane_properties2_khr( instance: &Instance, physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayPlaneProperties2KHR<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceDisplayPlaneProperties2KHR using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_display_plane_properties_khr

pub unsafe fn get_physical_device_display_plane_properties_khr( instance: &Instance, physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayPlanePropertiesKHR, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceDisplayPlanePropertiesKHR using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_display_properties2_khr

pub unsafe fn get_physical_device_display_properties2_khr( instance: &Instance, physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayProperties2KHR<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceDisplayProperties2KHR using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_display_properties_khr

pub unsafe fn get_physical_device_display_properties_khr( instance: &Instance, physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayPropertiesKHR<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceDisplayPropertiesKHR using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_external_buffer_properties

pub unsafe fn get_physical_device_external_buffer_properties( instance: &Instance, physical_device: PhysicalDevice, external_buffer_info: &PhysicalDeviceExternalBufferInfo<'_>, external_buffer_properties: &mut ExternalBufferProperties<'_>, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceExternalBufferProperties using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceExternalBufferProperties 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 vkGetPhysicalDeviceExternalBufferProperties valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Khronos reference: vkGetPhysicalDeviceExternalBufferProperties

Fnvk::get_physical_device_external_buffer_properties_khr

pub unsafe fn get_physical_device_external_buffer_properties_khr( instance: &Instance, physical_device: PhysicalDevice, external_buffer_info: &PhysicalDeviceExternalBufferInfo<'_>, external_buffer_properties: &mut ExternalBufferProperties<'_>, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceExternalBufferPropertiesKHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceExternalBufferPropertiesKHR 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 vkGetPhysicalDeviceExternalBufferPropertiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Khronos reference: vkGetPhysicalDeviceExternalBufferPropertiesKHR

Fnvk::get_physical_device_external_fence_properties

pub unsafe fn get_physical_device_external_fence_properties( instance: &Instance, physical_device: PhysicalDevice, external_fence_info: &PhysicalDeviceExternalFenceInfo<'_>, external_fence_properties: &mut ExternalFenceProperties<'_>, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceExternalFenceProperties using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceExternalFenceProperties 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 vkGetPhysicalDeviceExternalFenceProperties valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Khronos reference: vkGetPhysicalDeviceExternalFenceProperties

Fnvk::get_physical_device_external_fence_properties_khr

pub unsafe fn get_physical_device_external_fence_properties_khr( instance: &Instance, physical_device: PhysicalDevice, external_fence_info: &PhysicalDeviceExternalFenceInfo<'_>, external_fence_properties: &mut ExternalFenceProperties<'_>, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceExternalFencePropertiesKHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceExternalFencePropertiesKHR 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 vkGetPhysicalDeviceExternalFencePropertiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Khronos reference: vkGetPhysicalDeviceExternalFencePropertiesKHR

Fnvk::get_physical_device_external_image_format_properties_nv

pub unsafe fn get_physical_device_external_image_format_properties_nv( instance: &Instance, physical_device: PhysicalDevice, format: Format, type: ImageType, tiling: ImageTiling, usage: ImageUsageFlags, flags: ImageCreateFlags, external_handle_type: ExternalMemoryHandleTypeFlagsNV, p_external_image_format_properties: *mut ExternalImageFormatPropertiesNV, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceExternalImageFormatPropertiesNV using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_external_semaphore_properties

pub unsafe fn get_physical_device_external_semaphore_properties( instance: &Instance, physical_device: PhysicalDevice, external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo<'_>, external_semaphore_properties: &mut ExternalSemaphoreProperties<'_>, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceExternalSemaphoreProperties using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceExternalSemaphoreProperties 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 vkGetPhysicalDeviceExternalSemaphoreProperties valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Khronos reference: vkGetPhysicalDeviceExternalSemaphoreProperties

Fnvk::get_physical_device_external_semaphore_properties_khr

pub unsafe fn get_physical_device_external_semaphore_properties_khr( instance: &Instance, physical_device: PhysicalDevice, external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo<'_>, external_semaphore_properties: &mut ExternalSemaphoreProperties<'_>, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceExternalSemaphorePropertiesKHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceExternalSemaphorePropertiesKHR 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 vkGetPhysicalDeviceExternalSemaphorePropertiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Khronos reference: vkGetPhysicalDeviceExternalSemaphorePropertiesKHR

Fnvk::get_physical_device_external_tensor_properties_arm

pub unsafe fn get_physical_device_external_tensor_properties_arm( instance: &Instance, physical_device: PhysicalDevice, p_external_tensor_info: *const PhysicalDeviceExternalTensorInfoARM<'_>, p_external_tensor_properties: *mut ExternalTensorPropertiesARM<'_>, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceExternalTensorPropertiesARM using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_features

pub unsafe fn get_physical_device_features( instance: &Instance, physical_device: PhysicalDevice, ) -> Result<PhysicalDeviceFeatures, CallError>
Query the optional features supported by a physical device.

Contract

Query the optional features supported by a physical device.

Safety

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

Khronos reference: vkGetPhysicalDeviceFeatures

Fnvk::get_physical_device_features2

pub unsafe fn get_physical_device_features2( instance: &Instance, physical_device: PhysicalDevice, features: &mut PhysicalDeviceFeatures2<'_>, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceFeatures2 using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceFeatures2 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 vkGetPhysicalDeviceFeatures2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Khronos reference: vkGetPhysicalDeviceFeatures2

Fnvk::get_physical_device_features2_khr

pub unsafe fn get_physical_device_features2_khr( instance: &Instance, physical_device: PhysicalDevice, features: &mut PhysicalDeviceFeatures2<'_>, ) -> Result<(), CallError>
Call vkGetPhysicalDeviceFeatures2KHR using this context’s cached function pointer.

Contract

Call vkGetPhysicalDeviceFeatures2KHR 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 vkGetPhysicalDeviceFeatures2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Khronos reference: vkGetPhysicalDeviceFeatures2KHR