Realm

vk · Functions · G8

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

FnRustExperimental

Fnvk::get_memory_zircon_handle_fuchsia

pub unsafe fn get_memory_zircon_handle_fuchsia( device: &Device, p_get_zircon_handle_info: *const MemoryGetZirconHandleInfoFUCHSIA<'_>, p_zircon_handle: *mut zx_handle_t, ) -> Result<Result, CallError>
Call vkGetMemoryZirconHandleFUCHSIA using this context’s cached function pointer.

Contract

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

Fnvk::get_memory_zircon_handle_properties_fuchsia

pub unsafe fn get_memory_zircon_handle_properties_fuchsia( device: &Device, handle_type: ExternalMemoryHandleTypeFlagBits, zircon_handle: zx_handle_t, p_memory_zircon_handle_properties: *mut MemoryZirconHandlePropertiesFUCHSIA<'_>, ) -> Result<Result, CallError>
Call vkGetMemoryZirconHandlePropertiesFUCHSIA using this context’s cached function pointer.

Contract

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

Fnvk::get_micromap_build_sizes_ext

pub unsafe fn get_micromap_build_sizes_ext( device: &Device, build_type: AccelerationStructureBuildTypeKHR, p_build_info: *const MicromapBuildInfoEXT<'_>, p_size_info: *mut MicromapBuildSizesInfoEXT<'_>, ) -> Result<(), CallError>
Call vkGetMicromapBuildSizesEXT using this context’s cached function pointer.

Contract

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

Fnvk::get_native_buffer_properties_ohos

pub unsafe fn get_native_buffer_properties_ohos( device: &Device, buffer: *const OH_NativeBuffer, p_properties: *mut NativeBufferPropertiesOHOS<'_>, ) -> Result<Result, CallError>
Call vkGetNativeBufferPropertiesOHOS using this context’s cached function pointer.

Contract

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

Fnvk::get_partitioned_acceleration_structures_build_sizes_nv

pub unsafe fn get_partitioned_acceleration_structures_build_sizes_nv( device: &Device, p_info: *const PartitionedAccelerationStructureInstancesInputNV<'_>, p_size_info: *mut AccelerationStructureBuildSizesInfoKHR<'_>, ) -> Result<(), CallError>
Call vkGetPartitionedAccelerationStructuresBuildSizesNV using this context’s cached function pointer.

Contract

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

Fnvk::get_past_presentation_timing_ext

pub unsafe fn get_past_presentation_timing_ext( device: &Device, p_past_presentation_timing_info: *const PastPresentationTimingInfoEXT<'_>, p_past_presentation_timing_properties: *mut PastPresentationTimingPropertiesEXT<'_>, ) -> Result<Result, CallError>
Call vkGetPastPresentationTimingEXT using this context’s cached function pointer.

Contract

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

Fnvk::get_past_presentation_timing_google

pub unsafe fn get_past_presentation_timing_google( device: &Device, swapchain: SwapchainKHR, p_presentation_timing_count: *mut u32, p_presentation_timings: *mut PastPresentationTimingGOOGLE, ) -> Result<Result, CallError>
Call vkGetPastPresentationTimingGOOGLE using this context’s cached function pointer.

Contract

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

Fnvk::get_performance_parameter_intel

pub unsafe fn get_performance_parameter_intel( device: &Device, parameter: PerformanceParameterTypeINTEL, p_value: *mut PerformanceValueINTEL<'_>, ) -> Result<Result, CallError>
Call vkGetPerformanceParameterINTEL using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_calibrateable_time_domains_ext

pub unsafe fn get_physical_device_calibrateable_time_domains_ext( instance: &Instance, physical_device: PhysicalDevice, p_time_domain_count: *mut u32, p_time_domains: *mut TimeDomainKHR, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceCalibrateableTimeDomainsEXT using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_calibrateable_time_domains_khr

pub unsafe fn get_physical_device_calibrateable_time_domains_khr( instance: &Instance, physical_device: PhysicalDevice, p_time_domain_count: *mut u32, p_time_domains: *mut TimeDomainKHR, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceCalibrateableTimeDomainsKHR using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_cooperative_matrix_flexible_dimensions_properties_nv

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

Contract

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

Fnvk::get_physical_device_cooperative_matrix_properties2_ext

pub unsafe fn get_physical_device_cooperative_matrix_properties2_ext( instance: &Instance, physical_device: PhysicalDevice, p_cooperative_matrix_info: *const PhysicalDeviceCooperativeMatrixInfo2EXT<'_>, p_property_count: *mut u32, p_properties: *mut CooperativeMatrixProperties2EXT<'_>, ) -> Result<Result, CallError>
Call vkGetPhysicalDeviceCooperativeMatrixProperties2EXT using this context’s cached function pointer.

Contract

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

Fnvk::get_physical_device_cooperative_matrix_properties_khr

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

Contract

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

Fnvk::get_physical_device_cooperative_matrix_properties_nv

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

Contract

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

Fnvk::get_physical_device_cooperative_vector_properties_nv

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

Contract

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

Fnvk::get_physical_device_descriptor_size_ext

pub unsafe fn get_physical_device_descriptor_size_ext( instance: &Instance, physical_device: PhysicalDevice, descriptor_type: DescriptorType, ) -> Result<DeviceSize, CallError>
Call vkGetPhysicalDeviceDescriptorSizeEXT using this context’s cached function pointer.

Contract

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