Realm

vk · Functions · R1

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

FnRustExperimental

Fnvk::register_custom_border_color_ext

pub unsafe fn register_custom_border_color_ext( device: &Device, p_border_color: *const SamplerCustomBorderColorCreateInfoEXT<'_>, request_index: Bool32, p_index: *mut u32, ) -> Result<Result, CallError>
Call vkRegisterCustomBorderColorEXT using this context’s cached function pointer.

Contract

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

Fnvk::register_device_event_ext

pub unsafe fn register_device_event_ext( device: &Device, p_device_event_info: *const DeviceEventInfoEXT<'_>, p_allocator: *const AllocationCallbacks, p_fence: *mut Fence, ) -> Result<Result, CallError>
Call vkRegisterDeviceEventEXT using this context’s cached function pointer.

Contract

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

Fnvk::register_display_event_ext

pub unsafe fn register_display_event_ext( device: &Device, display: DisplayKHR, p_display_event_info: *const DisplayEventInfoEXT<'_>, p_allocator: *const AllocationCallbacks, p_fence: *mut Fence, ) -> Result<Result, CallError>
Call vkRegisterDisplayEventEXT using this context’s cached function pointer.

Contract

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

Fnvk::release_captured_pipeline_data_khr

pub unsafe fn release_captured_pipeline_data_khr( device: &Device, p_info: *const ReleaseCapturedPipelineDataInfoKHR<'_>, p_allocator: *const AllocationCallbacks, ) -> Result<Result, CallError>
Call vkReleaseCapturedPipelineDataKHR using this context’s cached function pointer.

Contract

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

Fnvk::release_display_ext

pub unsafe fn release_display_ext( instance: &Instance, physical_device: PhysicalDevice, display: DisplayKHR, ) -> Result<Result, CallError>
Call vkReleaseDisplayEXT using this context’s cached function pointer.

Contract

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

Fnvk::release_full_screen_exclusive_mode_ext

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

Contract

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

Fnvk::release_performance_configuration_intel

pub unsafe fn release_performance_configuration_intel( device: &Device, configuration: PerformanceConfigurationINTEL, ) -> Result<Result, CallError>
Call vkReleasePerformanceConfigurationINTEL using this context’s cached function pointer.

Contract

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

Fnvk::release_profiling_lock_khr

Contract

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

Fnvk::release_swapchain_images_ext

pub unsafe fn release_swapchain_images_ext( device: &Device, p_release_info: *const ReleaseSwapchainImagesInfoKHR<'_>, ) -> Result<Result, CallError>
Call vkReleaseSwapchainImagesEXT using this context’s cached function pointer.

Contract

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

Fnvk::release_swapchain_images_khr

pub unsafe fn release_swapchain_images_khr( device: &Device, p_release_info: *const ReleaseSwapchainImagesInfoKHR<'_>, ) -> Result<Result, CallError>
Call vkReleaseSwapchainImagesKHR using this context’s cached function pointer.

Contract

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

Fnvk::reset_command_buffer

pub unsafe fn reset_command_buffer( device: &Device, command_buffer: CommandBuffer, flags: CommandBufferResetFlags, ) -> Result<(), CallError>
Call vkResetCommandBuffer using this context’s cached function pointer.

Contract

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

Fnvk::reset_command_pool

pub unsafe fn reset_command_pool( device: &Device, command_pool: CommandPool, flags: CommandPoolResetFlags, ) -> Result<(), CallError>
Call vkResetCommandPool using this context’s cached function pointer.

Contract

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

Fnvk::reset_descriptor_pool

pub unsafe fn reset_descriptor_pool( device: &Device, descriptor_pool: DescriptorPool, flags: DescriptorPoolResetFlags, ) -> Result<(), CallError>
Call vkResetDescriptorPool using this context’s cached function pointer.

Contract

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

Fnvk::reset_event

Contract

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

Fnvk::reset_fences

Contract

Reset fences to the unsignalled state.

Safety

No fences in the slice may be pending (submitted but not yet signalled).

Khronos reference: vkResetFences

Fnvk::reset_gpa_session_amd

pub unsafe fn reset_gpa_session_amd( device: &Device, gpa_session: GpaSessionAMD, ) -> Result<Result, CallError>
Call vkResetGpaSessionAMD using this context’s cached function pointer.

Contract

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