Realm

vk · Functions · C5

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

FnRustExperimental

Fnvk::cmd_copy_buffer_to_image2

pub unsafe fn cmd_copy_buffer_to_image2( device: &Device, command_buffer: CommandBuffer, copy_buffer_to_image_info: &CopyBufferToImageInfo2<'_>, ) -> Result<(), CallError>
Call vkCmdCopyBufferToImage2 using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_buffer_to_image2_khr

pub unsafe fn cmd_copy_buffer_to_image2_khr( device: &Device, command_buffer: CommandBuffer, copy_buffer_to_image_info: &CopyBufferToImageInfo2<'_>, ) -> Result<(), CallError>
Call vkCmdCopyBufferToImage2KHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_gpa_session_results_amd

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

Contract

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

Fnvk::cmd_copy_image

pub unsafe fn cmd_copy_image( device: &Device, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, regions: &[ImageCopy], ) -> Result<(), CallError>
Call vkCmdCopyImage using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_image2

pub unsafe fn cmd_copy_image2( device: &Device, command_buffer: CommandBuffer, copy_image_info: &CopyImageInfo2<'_>, ) -> Result<(), CallError>
Call vkCmdCopyImage2 using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_image2_khr

pub unsafe fn cmd_copy_image2_khr( device: &Device, command_buffer: CommandBuffer, copy_image_info: &CopyImageInfo2<'_>, ) -> Result<(), CallError>
Call vkCmdCopyImage2KHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_image_to_buffer

pub unsafe fn cmd_copy_image_to_buffer( device: &Device, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_buffer: Buffer, regions: &[BufferImageCopy], ) -> Result<(), CallError>
Call vkCmdCopyImageToBuffer using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_image_to_buffer2

pub unsafe fn cmd_copy_image_to_buffer2( device: &Device, command_buffer: CommandBuffer, copy_image_to_buffer_info: &CopyImageToBufferInfo2<'_>, ) -> Result<(), CallError>
Call vkCmdCopyImageToBuffer2 using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_image_to_buffer2_khr

pub unsafe fn cmd_copy_image_to_buffer2_khr( device: &Device, command_buffer: CommandBuffer, copy_image_to_buffer_info: &CopyImageToBufferInfo2<'_>, ) -> Result<(), CallError>
Call vkCmdCopyImageToBuffer2KHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_image_to_memory_khr

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

Contract

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

Fnvk::cmd_copy_memory_indirect_khr

pub unsafe fn cmd_copy_memory_indirect_khr( device: &Device, command_buffer: CommandBuffer, p_copy_memory_indirect_info: *const CopyMemoryIndirectInfoKHR<'_>, ) -> Result<(), CallError>
Call vkCmdCopyMemoryIndirectKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_memory_indirect_nv

pub unsafe fn cmd_copy_memory_indirect_nv( device: &Device, command_buffer: CommandBuffer, copy_buffer_address: DeviceAddress, copy_count: u32, stride: u32, ) -> Result<(), CallError>
Call vkCmdCopyMemoryIndirectNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_memory_khr

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

Contract

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

Fnvk::cmd_copy_memory_to_acceleration_structure_khr

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

Contract

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

Fnvk::cmd_copy_memory_to_image_indirect_khr

pub unsafe fn cmd_copy_memory_to_image_indirect_khr( device: &Device, command_buffer: CommandBuffer, p_copy_memory_to_image_indirect_info: *const CopyMemoryToImageIndirectInfoKHR<'_>, ) -> Result<(), CallError>
Call vkCmdCopyMemoryToImageIndirectKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_copy_memory_to_image_indirect_nv

pub unsafe fn cmd_copy_memory_to_image_indirect_nv( device: &Device, command_buffer: CommandBuffer, copy_buffer_address: DeviceAddress, copy_count: u32, stride: u32, dst_image: Image, dst_image_layout: ImageLayout, p_image_subresources: *const ImageSubresourceLayers, ) -> Result<(), CallError>
Call vkCmdCopyMemoryToImageIndirectNV using this context’s cached function pointer.

Contract

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