vk · Functions · G10
16 public declarations with native signatures and source-owned contracts.
Fnvk::get_physical_device_format_properties
Contract
Call vkGetPhysicalDeviceFormatProperties 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 vkGetPhysicalDeviceFormatProperties valid usage, enabled API/extension/feature,
pointer-chain lifetime, callback compatibility and host/GPU synchronization
requirements. Native resources require explicit destruction after completion.
Fnvk::get_physical_device_format_properties2
Contract
Call vkGetPhysicalDeviceFormatProperties2 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 vkGetPhysicalDeviceFormatProperties2 valid usage, enabled API/extension/feature,
pointer-chain lifetime, callback compatibility and host/GPU synchronization
requirements. Native resources require explicit destruction after completion.
Fnvk::get_physical_device_format_properties2_khr
Contract
Call vkGetPhysicalDeviceFormatProperties2KHR 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 vkGetPhysicalDeviceFormatProperties2KHR valid usage, enabled API/extension/feature,
pointer-chain lifetime, callback compatibility and host/GPU synchronization
requirements. Native resources require explicit destruction after completion.
Fnvk::get_physical_device_fragment_shading_rates_khr
Contract
Call vkGetPhysicalDeviceFragmentShadingRatesKHR 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 vkGetPhysicalDeviceFragmentShadingRatesKHR 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: vkGetPhysicalDeviceFragmentShadingRatesKHR
Fnvk::get_physical_device_image_format_properties
Contract
Call vkGetPhysicalDeviceImageFormatProperties 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 vkGetPhysicalDeviceImageFormatProperties valid usage, enabled API/extension/feature,
pointer-chain lifetime, callback compatibility and host/GPU synchronization
requirements. Native resources require explicit destruction after completion.
Fnvk::get_physical_device_image_format_properties2
Contract
Call vkGetPhysicalDeviceImageFormatProperties2 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 vkGetPhysicalDeviceImageFormatProperties2 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: vkGetPhysicalDeviceImageFormatProperties2
Fnvk::get_physical_device_image_format_properties2_khr
Contract
Call vkGetPhysicalDeviceImageFormatProperties2KHR 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 vkGetPhysicalDeviceImageFormatProperties2KHR 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: vkGetPhysicalDeviceImageFormatProperties2KHR
Fnvk::get_physical_device_memory_properties
Contract
Query the memory heaps and memory types available to a physical device.
Safety
The instance must be live and physical_device must belong to it.
Fnvk::get_physical_device_memory_properties2
Contract
Call vkGetPhysicalDeviceMemoryProperties2 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 vkGetPhysicalDeviceMemoryProperties2 valid usage, enabled API/extension/feature,
pointer-chain lifetime, callback compatibility and host/GPU synchronization
requirements. Native resources require explicit destruction after completion.
Fnvk::get_physical_device_memory_properties2_khr
Contract
Call vkGetPhysicalDeviceMemoryProperties2KHR 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 vkGetPhysicalDeviceMemoryProperties2KHR valid usage, enabled API/extension/feature,
pointer-chain lifetime, callback compatibility and host/GPU synchronization
requirements. Native resources require explicit destruction after completion.
Fnvk::get_physical_device_multisample_properties_ext
Contract
Call vkGetPhysicalDeviceMultisamplePropertiesEXT 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 vkGetPhysicalDeviceMultisamplePropertiesEXT 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: vkGetPhysicalDeviceMultisamplePropertiesEXT
Fnvk::get_physical_device_optical_flow_image_formats_nv
pub unsafe fn get_physical_device_optical_flow_image_formats_nv(
instance: &Instance,
physical_device: PhysicalDevice,
p_optical_flow_image_format_info: *const OpticalFlowImageFormatInfoNV<'_>,
p_format_count: *mut u32,
p_image_format_properties: *mut OpticalFlowImageFormatPropertiesNV<'_>,
) -> Result<Result, CallError>Contract
Call vkGetPhysicalDeviceOpticalFlowImageFormatsNV 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 vkGetPhysicalDeviceOpticalFlowImageFormatsNV 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: vkGetPhysicalDeviceOpticalFlowImageFormatsNV
Fnvk::get_physical_device_present_rectangles_khr
Contract
Call vkGetPhysicalDevicePresentRectanglesKHR 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 vkGetPhysicalDevicePresentRectanglesKHR 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.
Fnvk::get_physical_device_properties
Contract
Query properties of a physical device (name, driver version, limits, …).
Safety
The instance must be live and physical_device must belong to it.
Fnvk::get_physical_device_properties2
Contract
Call vkGetPhysicalDeviceProperties2 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 vkGetPhysicalDeviceProperties2 valid usage, enabled API/extension/feature,
pointer-chain lifetime, callback compatibility and host/GPU synchronization
requirements. Native resources require explicit destruction after completion.
Fnvk::get_physical_device_properties2_khr
Contract
Call vkGetPhysicalDeviceProperties2KHR 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 vkGetPhysicalDeviceProperties2KHR valid usage, enabled API/extension/feature,
pointer-chain lifetime, callback compatibility and host/GPU synchronization
requirements. Native resources require explicit destruction after completion.