Realm

vk · Functions · C8

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

FnRustExperimental

Fnvk::cmd_draw_indexed_indirect2_khr

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

Contract

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

Fnvk::cmd_draw_indexed_indirect_count

pub unsafe fn cmd_draw_indexed_indirect_count( 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 vkCmdDrawIndexedIndirectCount using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_indexed_indirect_count2_khr

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

Contract

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

Fnvk::cmd_draw_indexed_indirect_count_amd

pub unsafe fn cmd_draw_indexed_indirect_count_amd( 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 vkCmdDrawIndexedIndirectCountAMD using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_indexed_indirect_count_khr

pub unsafe fn cmd_draw_indexed_indirect_count_khr( 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 vkCmdDrawIndexedIndirectCountKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_indirect

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

Contract

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

Fnvk::cmd_draw_indirect2_khr

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

Contract

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

Fnvk::cmd_draw_indirect_byte_count2_ext

pub unsafe fn cmd_draw_indirect_byte_count2_ext( device: &Device, command_buffer: CommandBuffer, instance_count: u32, first_instance: u32, p_counter_info: *const BindTransformFeedbackBuffer2InfoEXT<'_>, counter_offset: u32, vertex_stride: u32, ) -> Result<(), CallError>
Call vkCmdDrawIndirectByteCount2EXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_indirect_byte_count_ext

pub unsafe fn cmd_draw_indirect_byte_count_ext( device: &Device, command_buffer: CommandBuffer, instance_count: u32, first_instance: u32, counter_buffer: Buffer, counter_buffer_offset: DeviceSize, counter_offset: u32, vertex_stride: u32, ) -> Result<(), CallError>
Call vkCmdDrawIndirectByteCountEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_indirect_count

pub unsafe fn cmd_draw_indirect_count( 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 vkCmdDrawIndirectCount using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_indirect_count2_khr

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

Contract

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

Fnvk::cmd_draw_indirect_count_amd

pub unsafe fn cmd_draw_indirect_count_amd( 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 vkCmdDrawIndirectCountAMD using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_indirect_count_khr

pub unsafe fn cmd_draw_indirect_count_khr( 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 vkCmdDrawIndirectCountKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_mesh_tasks_ext

pub unsafe fn cmd_draw_mesh_tasks_ext( device: &Device, command_buffer: CommandBuffer, group_count_x: u32, group_count_y: u32, group_count_z: u32, ) -> Result<(), CallError>
Call vkCmdDrawMeshTasksEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_draw_mesh_tasks_indirect2_ext

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

Contract

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

Fnvk::cmd_draw_mesh_tasks_indirect_count2_ext

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

Contract

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