Realm

vk · Functions · D3

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

FnRustExperimental

Fnvk::destroy_indirect_execution_set_ext

pub unsafe fn destroy_indirect_execution_set_ext( device: &Device, indirect_execution_set: IndirectExecutionSetEXT, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>
Call vkDestroyIndirectExecutionSetEXT using this context’s cached function pointer.

Contract

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

Fnvk::destroy_instance

Contract

Destroy once, using callbacks compatible with instance creation.

Safety

All children and outstanding instance operations must be complete. The allocator must match creation, with its user data and functions still live.

Khronos reference: vkDestroyInstance

Fnvk::destroy_micromap_ext

pub unsafe fn destroy_micromap_ext( device: &Device, micromap: MicromapEXT, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>
Call vkDestroyMicromapEXT using this context’s cached function pointer.

Contract

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

Fnvk::destroy_optical_flow_session_nv

pub unsafe fn destroy_optical_flow_session_nv( device: &Device, session: OpticalFlowSessionNV, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>
Call vkDestroyOpticalFlowSessionNV using this context’s cached function pointer.

Contract

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

Fnvk::destroy_pipeline

pub unsafe fn destroy_pipeline( device: &Device, pipeline: Pipeline, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>
Call vkDestroyPipeline using this context’s cached function pointer.

Contract

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

Fnvk::destroy_pipeline_binary_khr

pub unsafe fn destroy_pipeline_binary_khr( device: &Device, pipeline_binary: PipelineBinaryKHR, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>
Call vkDestroyPipelineBinaryKHR using this context’s cached function pointer.

Contract

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

Fnvk::destroy_pipeline_cache

pub unsafe fn destroy_pipeline_cache( device: &Device, pipeline_cache: PipelineCache, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>
Call vkDestroyPipelineCache using this context’s cached function pointer.

Contract

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

Fnvk::destroy_pipeline_layout

pub unsafe fn destroy_pipeline_layout( device: &Device, pipeline_layout: PipelineLayout, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>
Call vkDestroyPipelineLayout using this context’s cached function pointer.

Contract

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

Fnvk::destroy_private_data_slot

pub unsafe fn destroy_private_data_slot( device: &Device, private_data_slot: PrivateDataSlot, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>
Call vkDestroyPrivateDataSlot using this context’s cached function pointer.

Contract

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

Fnvk::destroy_private_data_slot_ext

pub unsafe fn destroy_private_data_slot_ext( device: &Device, private_data_slot: PrivateDataSlot, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>
Call vkDestroyPrivateDataSlotEXT using this context’s cached function pointer.

Contract

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

Fnvk::destroy_query_pool

pub unsafe fn destroy_query_pool( device: &Device, query_pool: QueryPool, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>
Call vkDestroyQueryPool using this context’s cached function pointer.

Contract

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

Fnvk::destroy_render_pass

pub unsafe fn destroy_render_pass( device: &Device, render_pass: RenderPass, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>
Call vkDestroyRenderPass using this context’s cached function pointer.

Contract

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

Fnvk::destroy_sampler

pub unsafe fn destroy_sampler( device: &Device, sampler: Sampler, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>
Call vkDestroySampler using this context’s cached function pointer.

Contract

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

Fnvk::destroy_sampler_ycbcr_conversion

pub unsafe fn destroy_sampler_ycbcr_conversion( device: &Device, ycbcr_conversion: SamplerYcbcrConversion, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>
Call vkDestroySamplerYcbcrConversion using this context’s cached function pointer.

Contract

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

Fnvk::destroy_sampler_ycbcr_conversion_khr

pub unsafe fn destroy_sampler_ycbcr_conversion_khr( device: &Device, ycbcr_conversion: SamplerYcbcrConversion, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>
Call vkDestroySamplerYcbcrConversionKHR using this context’s cached function pointer.

Contract

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

Fnvk::destroy_semaphore

pub unsafe fn destroy_semaphore( device: &Device, semaphore: Semaphore, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>
Call vkDestroySemaphore using this context’s cached function pointer.

Contract

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