Realm

vk · Functions · C2

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

FnRustExperimental

Fnvk::cmd_begin_transform_feedback2_ext

pub unsafe fn cmd_begin_transform_feedback2_ext( device: &Device, command_buffer: CommandBuffer, first_counter_range: u32, counter_range_count: u32, p_counter_infos: *const BindTransformFeedbackBuffer2InfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdBeginTransformFeedback2EXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_transform_feedback_ext

pub unsafe fn cmd_begin_transform_feedback_ext( device: &Device, command_buffer: CommandBuffer, first_counter_buffer: u32, counter_buffer_count: u32, p_counter_buffers: *const Buffer, p_counter_buffer_offsets: *const DeviceSize, ) -> Result<(), CallError>
Call vkCmdBeginTransformFeedbackEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_video_coding_khr

pub unsafe fn cmd_begin_video_coding_khr( device: &Device, command_buffer: CommandBuffer, p_begin_info: *const VideoBeginCodingInfoKHR<'_>, ) -> Result<(), CallError>
Call vkCmdBeginVideoCodingKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_descriptor_buffer_embedded_samplers2_ext

pub unsafe fn cmd_bind_descriptor_buffer_embedded_samplers2_ext( device: &Device, command_buffer: CommandBuffer, p_bind_descriptor_buffer_embedded_samplers_info: *const BindDescriptorBufferEmbeddedSamplersInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdBindDescriptorBufferEmbeddedSamplers2EXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_descriptor_buffer_embedded_samplers_ext

pub unsafe fn cmd_bind_descriptor_buffer_embedded_samplers_ext( device: &Device, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, layout: PipelineLayout, set: u32, ) -> Result<(), CallError>
Call vkCmdBindDescriptorBufferEmbeddedSamplersEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_descriptor_buffers_ext

pub unsafe fn cmd_bind_descriptor_buffers_ext( device: &Device, command_buffer: CommandBuffer, buffer_count: u32, p_binding_infos: *const DescriptorBufferBindingInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdBindDescriptorBuffersEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_descriptor_sets

pub unsafe fn cmd_bind_descriptor_sets( device: &Device, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, layout: PipelineLayout, first_set: u32, descriptor_sets: &[DescriptorSet], dynamic_offsets: &[u32], ) -> Result<(), CallError>
Call vkCmdBindDescriptorSets using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_descriptor_sets2

pub unsafe fn cmd_bind_descriptor_sets2( device: &Device, command_buffer: CommandBuffer, p_bind_descriptor_sets_info: *const BindDescriptorSetsInfo<'_>, ) -> Result<(), CallError>
Call vkCmdBindDescriptorSets2 using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_descriptor_sets2_khr

pub unsafe fn cmd_bind_descriptor_sets2_khr( device: &Device, command_buffer: CommandBuffer, p_bind_descriptor_sets_info: *const BindDescriptorSetsInfo<'_>, ) -> Result<(), CallError>
Call vkCmdBindDescriptorSets2KHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_index_buffer

pub unsafe fn cmd_bind_index_buffer( device: &Device, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, index_type: IndexType, ) -> Result<(), CallError>
Call vkCmdBindIndexBuffer using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_index_buffer2

pub unsafe fn cmd_bind_index_buffer2( device: &Device, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, size: DeviceSize, index_type: IndexType, ) -> Result<(), CallError>
Call vkCmdBindIndexBuffer2 using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_index_buffer2_khr

pub unsafe fn cmd_bind_index_buffer2_khr( device: &Device, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, size: DeviceSize, index_type: IndexType, ) -> Result<(), CallError>
Call vkCmdBindIndexBuffer2KHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_bind_index_buffer3_khr

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

Contract

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

Fnvk::cmd_bind_invocation_mask_huawei

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

Contract

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

Fnvk::cmd_bind_pipeline

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

Contract

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

Fnvk::cmd_bind_pipeline_shader_group_nv

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

Contract

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