Realm

vk · Functions · C9

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

FnRustExperimental

Fnvk::cmd_draw_mesh_tasks_indirect_count_ext

pub unsafe fn cmd_draw_mesh_tasks_indirect_count_ext( device: &Device, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32, ) -> Result<(), CallError>
Call vkCmdDrawMeshTasksIndirectCountEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_mesh_tasks_indirect_count_nv

pub unsafe fn cmd_draw_mesh_tasks_indirect_count_nv( device: &Device, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32, ) -> Result<(), CallError>
Call vkCmdDrawMeshTasksIndirectCountNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_mesh_tasks_indirect_ext

pub unsafe fn cmd_draw_mesh_tasks_indirect_ext( device: &Device, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, draw_count: u32, stride: u32, ) -> Result<(), CallError>
Call vkCmdDrawMeshTasksIndirectEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_mesh_tasks_indirect_nv

pub unsafe fn cmd_draw_mesh_tasks_indirect_nv( device: &Device, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, draw_count: u32, stride: u32, ) -> Result<(), CallError>
Call vkCmdDrawMeshTasksIndirectNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_mesh_tasks_nv

pub unsafe fn cmd_draw_mesh_tasks_nv( device: &Device, command_buffer: CommandBuffer, task_count: u32, first_task: u32, ) -> Result<(), CallError>
Call vkCmdDrawMeshTasksNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_multi_ext

pub unsafe fn cmd_draw_multi_ext( device: &Device, command_buffer: CommandBuffer, draw_count: u32, p_vertex_info: *const MultiDrawInfoEXT, instance_count: u32, first_instance: u32, stride: u32, ) -> Result<(), CallError>
Call vkCmdDrawMultiEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_multi_indexed_ext

pub unsafe fn cmd_draw_multi_indexed_ext( device: &Device, command_buffer: CommandBuffer, draw_count: u32, p_index_info: *const MultiDrawIndexedInfoEXT, instance_count: u32, first_instance: u32, stride: u32, p_vertex_offset: *const i32, ) -> Result<(), CallError>
Call vkCmdDrawMultiIndexedEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_encode_video_khr

pub unsafe fn cmd_encode_video_khr( device: &Device, command_buffer: CommandBuffer, p_encode_info: *const VideoEncodeInfoKHR<'_>, ) -> Result<(), CallError>
Call vkCmdEncodeVideoKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_end_conditional_rendering_ext

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

Contract

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

Fnvk::cmd_end_debug_utils_label_ext

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

Contract

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

Fnvk::cmd_end_gpa_sample_amd

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

Contract

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

Fnvk::cmd_end_gpa_session_amd

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

Contract

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

Fnvk::cmd_end_per_tile_execution_qcom

pub unsafe fn cmd_end_per_tile_execution_qcom( device: &Device, command_buffer: CommandBuffer, p_per_tile_end_info: *const PerTileEndInfoQCOM<'_>, ) -> Result<(), CallError>
Call vkCmdEndPerTileExecutionQCOM using this context’s cached function pointer.

Contract

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

Fnvk::cmd_end_query

pub unsafe fn cmd_end_query( device: &Device, command_buffer: CommandBuffer, query_pool: QueryPool, query: u32, ) -> Result<(), CallError>
Call vkCmdEndQuery using this context’s cached function pointer.

Contract

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

Fnvk::cmd_end_query_indexed_ext

pub unsafe fn cmd_end_query_indexed_ext( device: &Device, command_buffer: CommandBuffer, query_pool: QueryPool, query: u32, index: u32, ) -> Result<(), CallError>
Call vkCmdEndQueryIndexedEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_end_render_pass

Contract

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