Realm

vk · Functions · C6

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

FnRustExperimental

Fnvk::cmd_copy_memory_to_image_khr

pub unsafe fn cmd_copy_memory_to_image_khr( device: &Device, command_buffer: CommandBuffer, p_copy_memory_info: *const CopyDeviceMemoryImageInfoKHR<'_>, ) -> Result<(), CallError>
Call vkCmdCopyMemoryToImageKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_memory_to_micromap_ext

pub unsafe fn cmd_copy_memory_to_micromap_ext( device: &Device, command_buffer: CommandBuffer, p_info: *const CopyMemoryToMicromapInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdCopyMemoryToMicromapEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_micromap_ext

pub unsafe fn cmd_copy_micromap_ext( device: &Device, command_buffer: CommandBuffer, p_info: *const CopyMicromapInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdCopyMicromapEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_micromap_to_memory_ext

pub unsafe fn cmd_copy_micromap_to_memory_ext( device: &Device, command_buffer: CommandBuffer, p_info: *const CopyMicromapToMemoryInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdCopyMicromapToMemoryEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_query_pool_results

pub unsafe fn cmd_copy_query_pool_results( device: &Device, command_buffer: CommandBuffer, query_pool: QueryPool, first_query: u32, query_count: u32, dst_buffer: Buffer, dst_offset: DeviceSize, stride: DeviceSize, flags: QueryResultFlags, ) -> Result<(), CallError>
Call vkCmdCopyQueryPoolResults using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_query_pool_results_to_memory_khr

pub unsafe fn cmd_copy_query_pool_results_to_memory_khr( device: &Device, command_buffer: CommandBuffer, query_pool: QueryPool, first_query: u32, query_count: u32, p_dst_range: *const StridedDeviceAddressRangeKHR, dst_flags: AddressCommandFlagsKHR, query_result_flags: QueryResultFlags, ) -> Result<(), CallError>
Call vkCmdCopyQueryPoolResultsToMemoryKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_tensor_arm

pub unsafe fn cmd_copy_tensor_arm( device: &Device, command_buffer: CommandBuffer, p_copy_tensor_info: *const CopyTensorInfoARM<'_>, ) -> Result<(), CallError>
Call vkCmdCopyTensorARM using this context’s cached function pointer.

Contract

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

Fnvk::cmd_cu_launch_kernel_nvx

pub unsafe fn cmd_cu_launch_kernel_nvx( device: &Device, command_buffer: CommandBuffer, p_launch_info: *const CuLaunchInfoNVX<'_>, ) -> Result<(), CallError>
Call vkCmdCuLaunchKernelNVX using this context’s cached function pointer.

Contract

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

Fnvk::cmd_cuda_launch_kernel_nv

pub unsafe fn cmd_cuda_launch_kernel_nv( device: &Device, command_buffer: CommandBuffer, p_launch_info: *const CudaLaunchInfoNV<'_>, ) -> Result<(), CallError>
Call vkCmdCudaLaunchKernelNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_debug_marker_begin_ext

pub unsafe fn cmd_debug_marker_begin_ext( device: &Device, command_buffer: CommandBuffer, p_marker_info: *const DebugMarkerMarkerInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdDebugMarkerBeginEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_debug_marker_end_ext

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

Contract

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

Fnvk::cmd_debug_marker_insert_ext

pub unsafe fn cmd_debug_marker_insert_ext( device: &Device, command_buffer: CommandBuffer, p_marker_info: *const DebugMarkerMarkerInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdDebugMarkerInsertEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_decode_video_khr

pub unsafe fn cmd_decode_video_khr( device: &Device, command_buffer: CommandBuffer, p_decode_info: *const VideoDecodeInfoKHR<'_>, ) -> Result<(), CallError>
Call vkCmdDecodeVideoKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_decompress_memory_ext

pub unsafe fn cmd_decompress_memory_ext( device: &Device, command_buffer: CommandBuffer, p_decompress_memory_info_ext: *const DecompressMemoryInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdDecompressMemoryEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_decompress_memory_indirect_count_ext

pub unsafe fn cmd_decompress_memory_indirect_count_ext( device: &Device, command_buffer: CommandBuffer, decompression_method: MemoryDecompressionMethodFlagsEXT, indirect_commands_address: DeviceAddress, indirect_commands_count_address: DeviceAddress, max_decompression_count: u32, stride: u32, ) -> Result<(), CallError>
Call vkCmdDecompressMemoryIndirectCountEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_decompress_memory_indirect_count_nv

pub unsafe fn cmd_decompress_memory_indirect_count_nv( device: &Device, command_buffer: CommandBuffer, indirect_commands_address: DeviceAddress, indirect_commands_count_address: DeviceAddress, stride: u32, ) -> Result<(), CallError>
Call vkCmdDecompressMemoryIndirectCountNV using this context’s cached function pointer.

Contract

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