Realm

vk · Functions · C20

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

FnRustExperimental

Fnvk::cmd_update_pipeline_indirect_buffer_nv

pub unsafe fn cmd_update_pipeline_indirect_buffer_nv( device: &Device, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, pipeline: Pipeline, ) -> Result<(), CallError>
Call vkCmdUpdatePipelineIndirectBufferNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_wait_events

pub unsafe fn cmd_wait_events( device: &Device, command_buffer: CommandBuffer, events: &[Event], src_stage_mask: PipelineStageFlags, dst_stage_mask: PipelineStageFlags, memory_barriers: &[MemoryBarrier<'_>], buffer_memory_barriers: &[BufferMemoryBarrier<'_>], image_memory_barriers: &[ImageMemoryBarrier<'_>], ) -> Result<(), CallError>
Call vkCmdWaitEvents using this context’s cached function pointer.

Contract

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

Fnvk::cmd_wait_events2

pub unsafe fn cmd_wait_events2( device: &Device, command_buffer: CommandBuffer, events: &[Event], dependency_infos: &[DependencyInfo<'_>], ) -> Result<(), CallError>
Call vkCmdWaitEvents2 using this context’s cached function pointer.

Contract

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

Fnvk::cmd_wait_events2_khr

pub unsafe fn cmd_wait_events2_khr( device: &Device, command_buffer: CommandBuffer, events: &[Event], dependency_infos: &[DependencyInfo<'_>], ) -> Result<(), CallError>
Call vkCmdWaitEvents2KHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_write_acceleration_structures_properties_khr

pub unsafe fn cmd_write_acceleration_structures_properties_khr( device: &Device, command_buffer: CommandBuffer, acceleration_structure_count: u32, p_acceleration_structures: *const AccelerationStructureKHR, query_type: QueryType, query_pool: QueryPool, first_query: u32, ) -> Result<(), CallError>
Call vkCmdWriteAccelerationStructuresPropertiesKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_write_acceleration_structures_properties_nv

pub unsafe fn cmd_write_acceleration_structures_properties_nv( device: &Device, command_buffer: CommandBuffer, acceleration_structure_count: u32, p_acceleration_structures: *const AccelerationStructureNV, query_type: QueryType, query_pool: QueryPool, first_query: u32, ) -> Result<(), CallError>
Call vkCmdWriteAccelerationStructuresPropertiesNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_write_buffer_marker2_amd

pub unsafe fn cmd_write_buffer_marker2_amd( device: &Device, command_buffer: CommandBuffer, stage: PipelineStageFlags2, dst_buffer: Buffer, dst_offset: DeviceSize, marker: u32, ) -> Result<(), CallError>
Call vkCmdWriteBufferMarker2AMD using this context’s cached function pointer.

Contract

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

Fnvk::cmd_write_buffer_marker_amd

pub unsafe fn cmd_write_buffer_marker_amd( device: &Device, command_buffer: CommandBuffer, pipeline_stage: PipelineStageFlagBits, dst_buffer: Buffer, dst_offset: DeviceSize, marker: u32, ) -> Result<(), CallError>
Call vkCmdWriteBufferMarkerAMD using this context’s cached function pointer.

Contract

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

Fnvk::cmd_write_marker_to_memory_amd

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

Contract

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

Fnvk::cmd_write_micromaps_properties_ext

pub unsafe fn cmd_write_micromaps_properties_ext( device: &Device, command_buffer: CommandBuffer, micromap_count: u32, p_micromaps: *const MicromapEXT, query_type: QueryType, query_pool: QueryPool, first_query: u32, ) -> Result<(), CallError>
Call vkCmdWriteMicromapsPropertiesEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_write_timestamp

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

Contract

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

Fnvk::cmd_write_timestamp2

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

Contract

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

Fnvk::cmd_write_timestamp2_khr

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

Contract

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

Fnvk::compile_deferred_nv

pub unsafe fn compile_deferred_nv( device: &Device, pipeline: Pipeline, shader: u32, ) -> Result<Result, CallError>
Call vkCompileDeferredNV using this context’s cached function pointer.

Contract

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

Fnvk::convert_cooperative_vector_matrix_nv

pub unsafe fn convert_cooperative_vector_matrix_nv( device: &Device, p_info: *const ConvertCooperativeVectorMatrixInfoNV<'_>, ) -> Result<Result, CallError>
Call vkConvertCooperativeVectorMatrixNV using this context’s cached function pointer.

Contract

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

Fnvk::copy_acceleration_structure_khr

pub unsafe fn copy_acceleration_structure_khr( device: &Device, deferred_operation: DeferredOperationKHR, p_info: *const CopyAccelerationStructureInfoKHR<'_>, ) -> Result<Result, CallError>
Call vkCopyAccelerationStructureKHR using this context’s cached function pointer.

Contract

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