Realm

vk · Functions · C3

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

FnRustExperimental

Fnvk::cmd_bind_resource_heap_ext

pub unsafe fn cmd_bind_resource_heap_ext( device: &Device, command_buffer: CommandBuffer, p_bind_info: *const BindHeapInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdBindResourceHeapEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_sampler_heap_ext

pub unsafe fn cmd_bind_sampler_heap_ext( device: &Device, command_buffer: CommandBuffer, p_bind_info: *const BindHeapInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdBindSamplerHeapEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_shaders_ext

pub unsafe fn cmd_bind_shaders_ext( device: &Device, command_buffer: CommandBuffer, stage_count: u32, p_stages: *const ShaderStageFlagBits, p_shaders: *const ShaderEXT, ) -> Result<(), CallError>
Call vkCmdBindShadersEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_shading_rate_image_nv

pub unsafe fn cmd_bind_shading_rate_image_nv( device: &Device, command_buffer: CommandBuffer, image_view: ImageView, image_layout: ImageLayout, ) -> Result<(), CallError>
Call vkCmdBindShadingRateImageNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_tile_memory_qcom

pub unsafe fn cmd_bind_tile_memory_qcom( device: &Device, command_buffer: CommandBuffer, p_tile_memory_bind_info: *const TileMemoryBindInfoQCOM<'_>, ) -> Result<(), CallError>
Call vkCmdBindTileMemoryQCOM using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_transform_feedback_buffers2_ext

pub unsafe fn cmd_bind_transform_feedback_buffers2_ext( device: &Device, command_buffer: CommandBuffer, first_binding: u32, binding_count: u32, p_binding_infos: *const BindTransformFeedbackBuffer2InfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdBindTransformFeedbackBuffers2EXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_transform_feedback_buffers_ext

pub unsafe fn cmd_bind_transform_feedback_buffers_ext( device: &Device, command_buffer: CommandBuffer, first_binding: u32, binding_count: u32, p_buffers: *const Buffer, p_offsets: *const DeviceSize, p_sizes: *const DeviceSize, ) -> Result<(), CallError>
Call vkCmdBindTransformFeedbackBuffersEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_vertex_buffers

pub unsafe fn cmd_bind_vertex_buffers( device: &Device, command_buffer: CommandBuffer, first_binding: u32, buffers: &[Buffer], offsets: &[DeviceSize], ) -> Result<(), CallError>
Call vkCmdBindVertexBuffers using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_vertex_buffers2

pub unsafe fn cmd_bind_vertex_buffers2( device: &Device, command_buffer: CommandBuffer, first_binding: u32, binding_count: u32, p_buffers: *const Buffer, p_offsets: *const DeviceSize, p_sizes: *const DeviceSize, p_strides: *const DeviceSize, ) -> Result<(), CallError>
Call vkCmdBindVertexBuffers2 using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_vertex_buffers2_ext

pub unsafe fn cmd_bind_vertex_buffers2_ext( device: &Device, command_buffer: CommandBuffer, first_binding: u32, binding_count: u32, p_buffers: *const Buffer, p_offsets: *const DeviceSize, p_sizes: *const DeviceSize, p_strides: *const DeviceSize, ) -> Result<(), CallError>
Call vkCmdBindVertexBuffers2EXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_vertex_buffers3_khr

pub unsafe fn cmd_bind_vertex_buffers3_khr( device: &Device, command_buffer: CommandBuffer, first_binding: u32, binding_count: u32, p_binding_infos: *const BindVertexBuffer3InfoKHR<'_>, ) -> Result<(), CallError>
Call vkCmdBindVertexBuffers3KHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_blit_image

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

Contract

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

Fnvk::cmd_blit_image2

pub unsafe fn cmd_blit_image2( device: &Device, command_buffer: CommandBuffer, blit_image_info: &BlitImageInfo2<'_>, ) -> Result<(), CallError>
Call vkCmdBlitImage2 using this context’s cached function pointer.

Contract

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

Fnvk::cmd_blit_image2_khr

pub unsafe fn cmd_blit_image2_khr( device: &Device, command_buffer: CommandBuffer, blit_image_info: &BlitImageInfo2<'_>, ) -> Result<(), CallError>
Call vkCmdBlitImage2KHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_build_acceleration_structure_nv

pub unsafe fn cmd_build_acceleration_structure_nv( device: &Device, command_buffer: CommandBuffer, p_info: *const AccelerationStructureInfoNV<'_>, instance_data: Buffer, instance_offset: DeviceSize, update: Bool32, dst: AccelerationStructureNV, src: AccelerationStructureNV, scratch: Buffer, scratch_offset: DeviceSize, ) -> Result<(), CallError>
Call vkCmdBuildAccelerationStructureNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_build_acceleration_structures_indirect_khr

pub unsafe fn cmd_build_acceleration_structures_indirect_khr( device: &Device, command_buffer: CommandBuffer, info_count: u32, p_infos: *const AccelerationStructureBuildGeometryInfoKHR<'_>, p_indirect_device_addresses: *const DeviceAddress, p_indirect_strides: *const u32, pp_max_primitive_counts: *const *const u32, ) -> Result<(), CallError>
Call vkCmdBuildAccelerationStructuresIndirectKHR using this context’s cached function pointer.

Contract

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