Realm

vk · Functions · G15

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

FnRustExperimental

Fnvk::get_shader_module_create_info_identifier_ext

pub unsafe fn get_shader_module_create_info_identifier_ext( device: &Device, p_create_info: *const ShaderModuleCreateInfo<'_>, p_identifier: *mut ShaderModuleIdentifierEXT<'_>, ) -> Result<(), CallError>
Call vkGetShaderModuleCreateInfoIdentifierEXT using this context’s cached function pointer.

Contract

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

Fnvk::get_shader_module_identifier_ext

pub unsafe fn get_shader_module_identifier_ext( device: &Device, shader_module: ShaderModule, p_identifier: *mut ShaderModuleIdentifierEXT<'_>, ) -> Result<(), CallError>
Call vkGetShaderModuleIdentifierEXT using this context’s cached function pointer.

Contract

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

Fnvk::get_sleep_status_legacy_nv

pub unsafe fn get_sleep_status_legacy_nv( device: &Device, p_low_latency_mode: *mut Bool32, ) -> Result<(), CallError>
Call vkGetSleepStatusLegacyNV using this context’s cached function pointer.

Contract

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

Fnvk::get_swapchain_counter_ext

pub unsafe fn get_swapchain_counter_ext( device: &Device, swapchain: SwapchainKHR, counter: SurfaceCounterFlagBitsEXT, p_counter_value: *mut u64, ) -> Result<Result, CallError>
Call vkGetSwapchainCounterEXT using this context’s cached function pointer.

Contract

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

Fnvk::get_swapchain_images_khr

pub unsafe fn get_swapchain_images_khr( device: &Device, swapchain: SwapchainKHR, p_swapchain_image_count: *mut u32, p_swapchain_images: *mut Image, ) -> Result<Result, CallError>
Call vkGetSwapchainImagesKHR using this context’s cached function pointer.

Contract

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

Fnvk::get_swapchain_status_khr

pub unsafe fn get_swapchain_status_khr( device: &Device, swapchain: SwapchainKHR, ) -> Result<Result, CallError>
Call vkGetSwapchainStatusKHR using this context’s cached function pointer.

Contract

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

Fnvk::get_swapchain_time_domain_properties_ext

pub unsafe fn get_swapchain_time_domain_properties_ext( device: &Device, swapchain: SwapchainKHR, p_swapchain_time_domain_properties: *mut SwapchainTimeDomainPropertiesEXT<'_>, p_time_domains_counter: *mut u64, ) -> Result<Result, CallError>
Call vkGetSwapchainTimeDomainPropertiesEXT using this context’s cached function pointer.

Contract

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

Fnvk::get_swapchain_timing_properties_ext

pub unsafe fn get_swapchain_timing_properties_ext( device: &Device, swapchain: SwapchainKHR, p_swapchain_timing_properties: *mut SwapchainTimingPropertiesEXT<'_>, p_swapchain_timing_properties_counter: *mut u64, ) -> Result<Result, CallError>
Call vkGetSwapchainTimingPropertiesEXT using this context’s cached function pointer.

Contract

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

Fnvk::get_tensor_memory_requirements_arm

pub unsafe fn get_tensor_memory_requirements_arm( device: &Device, p_info: *const TensorMemoryRequirementsInfoARM<'_>, p_memory_requirements: *mut MemoryRequirements2<'_>, ) -> Result<(), CallError>
Call vkGetTensorMemoryRequirementsARM using this context’s cached function pointer.

Contract

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

Fnvk::get_tensor_opaque_capture_data_arm

pub unsafe fn get_tensor_opaque_capture_data_arm( device: &Device, tensor_count: u32, p_tensors: *const TensorARM, p_datas: *mut HostAddressRangeEXT<'_>, ) -> Result<Result, CallError>
Call vkGetTensorOpaqueCaptureDataARM using this context’s cached function pointer.

Contract

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

Fnvk::get_tensor_opaque_capture_descriptor_data_arm

pub unsafe fn get_tensor_opaque_capture_descriptor_data_arm( device: &Device, p_info: *const TensorCaptureDescriptorDataInfoARM<'_>, p_data: *mut c_void, ) -> Result<Result, CallError>
Call vkGetTensorOpaqueCaptureDescriptorDataARM using this context’s cached function pointer.

Contract

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

Fnvk::get_tensor_view_opaque_capture_descriptor_data_arm

pub unsafe fn get_tensor_view_opaque_capture_descriptor_data_arm( device: &Device, p_info: *const TensorViewCaptureDescriptorDataInfoARM<'_>, p_data: *mut c_void, ) -> Result<Result, CallError>
Call vkGetTensorViewOpaqueCaptureDescriptorDataARM using this context’s cached function pointer.

Contract

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

Fnvk::get_validation_cache_data_ext

pub unsafe fn get_validation_cache_data_ext( device: &Device, validation_cache: ValidationCacheEXT, p_data_size: *mut usize, p_data: *mut c_void, ) -> Result<Result, CallError>
Call vkGetValidationCacheDataEXT using this context’s cached function pointer.

Contract

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

Fnvk::get_video_session_memory_requirements_khr

pub unsafe fn get_video_session_memory_requirements_khr( device: &Device, video_session: VideoSessionKHR, p_memory_requirements_count: *mut u32, p_memory_requirements: *mut VideoSessionMemoryRequirementsKHR<'_>, ) -> Result<Result, CallError>
Call vkGetVideoSessionMemoryRequirementsKHR using this context’s cached function pointer.

Contract

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

Fnvk::get_winrt_display_nv

pub unsafe fn get_winrt_display_nv( instance: &Instance, physical_device: PhysicalDevice, device_relative_id: u32, p_display: *mut DisplayKHR, ) -> Result<Result, CallError>
Call vkGetWinrtDisplayNV using this context’s cached function pointer.

Contract

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