Realm

vk · Functions · U1

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

FnRustExperimental

Fnvk::uninitialize_performance_api_intel

Contract

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

Fnvk::unmap_memory

Contract

Unmap a previously mapped memory object.

Safety

memory must currently be mapped and must not be used from host after this call.

Khronos reference: vkUnmapMemory

Fnvk::unmap_memory2

pub unsafe fn unmap_memory2( device: &Device, p_memory_unmap_info: *const MemoryUnmapInfo<'_>, ) -> Result<Result, CallError>
Call vkUnmapMemory2 using this context’s cached function pointer.

Contract

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

Fnvk::unmap_memory2_khr

pub unsafe fn unmap_memory2_khr( device: &Device, p_memory_unmap_info: *const MemoryUnmapInfo<'_>, ) -> Result<Result, CallError>
Call vkUnmapMemory2KHR using this context’s cached function pointer.

Contract

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

Fnvk::unregister_custom_border_color_ext

pub unsafe fn unregister_custom_border_color_ext( device: &Device, index: u32, ) -> Result<(), CallError>
Call vkUnregisterCustomBorderColorEXT using this context’s cached function pointer.

Contract

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

Fnvk::update_descriptor_set_with_template

pub unsafe fn update_descriptor_set_with_template( device: &Device, descriptor_set: DescriptorSet, descriptor_update_template: DescriptorUpdateTemplate, data: *const c_void, ) -> Result<(), CallError>
Call vkUpdateDescriptorSetWithTemplate using this context’s cached function pointer.

Contract

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

Data must address initialized descriptor payloads with the alignment, offsets, strides and extent declared by descriptor_update_template. No byte size can be inferred from this pointer; the caller guarantees the entire native read.

Khronos reference: vkUpdateDescriptorSetWithTemplate

Fnvk::update_descriptor_set_with_template_khr

pub unsafe fn update_descriptor_set_with_template_khr( device: &Device, descriptor_set: DescriptorSet, descriptor_update_template: DescriptorUpdateTemplate, data: *const c_void, ) -> Result<(), CallError>
Call vkUpdateDescriptorSetWithTemplateKHR using this context’s cached function pointer.

Contract

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

Data must address initialized descriptor payloads with the alignment, offsets, strides and extent declared by descriptor_update_template. No byte size can be inferred from this pointer; the caller guarantees the entire native read.

Khronos reference: vkUpdateDescriptorSetWithTemplateKHR

Fnvk::update_descriptor_sets

pub unsafe fn update_descriptor_sets( device: &Device, descriptor_writes: &[WriteDescriptorSet<'_>], descriptor_copies: &[CopyDescriptorSet<'_>], ) -> Result<(), CallError>
Call vkUpdateDescriptorSets using this context’s cached function pointer.

Contract

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

Fnvk::update_indirect_execution_set_pipeline_ext

pub unsafe fn update_indirect_execution_set_pipeline_ext( device: &Device, indirect_execution_set: IndirectExecutionSetEXT, execution_set_write_count: u32, p_execution_set_writes: *const WriteIndirectExecutionSetPipelineEXT<'_>, ) -> Result<(), CallError>
Call vkUpdateIndirectExecutionSetPipelineEXT using this context’s cached function pointer.

Contract

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

Fnvk::update_indirect_execution_set_shader_ext

pub unsafe fn update_indirect_execution_set_shader_ext( device: &Device, indirect_execution_set: IndirectExecutionSetEXT, execution_set_write_count: u32, p_execution_set_writes: *const WriteIndirectExecutionSetShaderEXT<'_>, ) -> Result<(), CallError>
Call vkUpdateIndirectExecutionSetShaderEXT using this context’s cached function pointer.

Contract

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

Fnvk::update_video_session_parameters_khr

pub unsafe fn update_video_session_parameters_khr( device: &Device, video_session_parameters: VideoSessionParametersKHR, p_update_info: *const VideoSessionParametersUpdateInfoKHR<'_>, ) -> Result<Result, CallError>
Call vkUpdateVideoSessionParametersKHR using this context’s cached function pointer.

Contract

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